// 文档 https://github.com/hooke007/MPV_lazy/wiki/4_GLSL

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!WIDTH LUMA.w 2 *
//!HEIGHT LUMA.h 2 *
//!COMPONENTS 1
//!BIND LUMA
//!SAVE LANCZOS3
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] lanczos3

#define FIX(c)		max(abs(c), 1e-5)
#define PI		3.141592653

vec3 weight3(float x)
{
    vec3 s = FIX(2.0 * PI * vec3(x - 1.5, x - 0.5, x + 0.5));
    return sin(s) * sin(s / 3.0) / (s * s);
}

float line_run(float ypos, vec3 xpos1, vec3 xpos2, vec3 linetaps1, vec3 linetaps2)
{
    return float(LUMA_tex(vec2(xpos1.r, ypos))) * linetaps1.r + float(LUMA_tex(vec2(xpos1.g, ypos))) * linetaps2.r + float(LUMA_tex(vec2(xpos1.b, ypos))) * linetaps1.g + float(LUMA_tex(vec2(xpos2.r, ypos))) * linetaps2.g + float(LUMA_tex(vec2(xpos2.g, ypos))) * linetaps1.b + float(LUMA_tex(vec2(xpos2.b, ypos))) * linetaps2.b;
}

vec4 hook()
{
    vec2 pos = LUMA_pos + LUMA_pt * 0.5;
    vec2 f = fract(pos / LUMA_pt);

    vec3 linetaps1 = weight3(0.5 - f.x * 0.5);
    vec3 linetaps2 = weight3(1.0 - f.x * 0.5);
    vec3 columntaps1 = weight3(0.5 - f.y * 0.5);
    vec3 columntaps2 = weight3(1.0 - f.y * 0.5);

    float suml = dot(linetaps1, vec3(1.0)) + dot(linetaps2, vec3(1.0));
    float sumc = dot(columntaps1, vec3(1.0)) + dot(columntaps2, vec3(1.0));
    linetaps1 /= suml;
    linetaps2 /= suml;
    columntaps1 /= sumc;
    columntaps2 /= sumc;

    vec2 xystart = (-2.5 - f) * LUMA_pt + pos;
    vec3 xpos1 = vec3(xystart.x, xystart.x + LUMA_pt.x, xystart.x + LUMA_pt.x * 2.0);
    vec3 xpos2 = vec3(xystart.x + LUMA_pt.x * 3.0, xystart.x + LUMA_pt.x * 4.0, xystart.x + LUMA_pt.x * 5.0);

    return vec4(line_run(xystart.y, xpos1, xpos2, linetaps1, linetaps2) * columntaps1.r + line_run(xystart.y + LUMA_pt.y, xpos1, xpos2, linetaps1, linetaps2) * columntaps2.r + line_run(xystart.y + LUMA_pt.y * 2.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps1.g + line_run(xystart.y + LUMA_pt.y * 3.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps2.g + line_run(xystart.y + LUMA_pt.y * 4.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps1.b + line_run(xystart.y + LUMA_pt.y * 5.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps2.b, 0, 0, 0);
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE1
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] feature map 1

vec4 hook()
{
vec4 res = vec4(0.003044890472665,0.404122859239578,-0.030734941363335,0.112905941903591);
res += vec4(-0.071425527334213,0.020755384117365,0.045570347458124,-0.039435915648937) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.107766419649124,-0.002012522658333,-0.053410366177559,-0.000183539261343) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(-0.131512105464935,-0.035557013005018,0.031137006357312,-0.097520604729652) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(-0.018143665045500,0.026796605437994,0.051213286817074,-0.025945641100407) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(0.000266109360382,0.070605434477329,0.018926640972495,0.021200861781836) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(-0.085840098559856,-0.082164101302624,0.087587699294090,-0.053889635950327) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(0.054765548557043,0.051325447857380,0.033124100416899,-0.097126990556717) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(0.076194167137146,-0.155416369438171,-0.055850371718407,-0.226957842707634) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(-0.186111614108086,-0.061618622392416,-0.076511718332767,-0.040054596960545) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(0.101020842790604,-0.006831299047917,0.044098481535912,-0.066073246300220) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.113567836582661,-0.009403751231730,-0.042272388935089,-0.107839025557041) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(-0.088155053555965,-0.207746714353561,-0.121392667293549,-0.244887858629227) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.449739277362823,-0.229108378291130,0.293922513723373,0.318275421857834) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.107189618051052,-0.023919271305203,-0.151116371154785,0.218623191118240) * float(LUMA_texOff(vec2(0,1)));
res += vec4(-0.167948499321938,-0.010840996168554,-0.016546549275517,0.141249269247055) * float(LUMA_texOff(vec2(0,2)));
res += vec4(0.031615607440472,0.021398972719908,0.041967216879129,-0.041486375033855) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.055492363870144,-0.066663265228271,0.092871479690075,-0.099177435040474) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(-0.030500432476401,-0.123241677880287,-0.269354850053787,-0.069587439298630) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.075854219496250,0.180013507604599,0.179215267300606,0.261425375938416) * float(LUMA_texOff(vec2(1,1)));
res += vec4(0.103088378906250,-0.036556985229254,-0.086889244616032,0.016521196812391) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.023044511675835,0.037202317267656,-0.112066030502319,0.025772338733077) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(-0.003870109561831,0.001927434699610,0.015076428651810,-0.012957731261849) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(-0.100532487034798,-0.036898076534271,0.074916712939739,0.042120754718781) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.159019514918327,0.016780646517873,-0.032592415809631,0.027102155610919) * float(LUMA_texOff(vec2(2,1)));
res += vec4(-0.014761940576136,-0.050259031355381,0.030249526724219,-0.001970550976694) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE2
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] feature map 2

vec4 hook()
{
vec4 res = vec4(0.012741999700665,-0.033286880701780,0.020688619464636,0.124040573835373);
res += vec4(0.005330841988325,-0.013846445828676,-0.074020579457283,0.048301067203283) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(-0.033566512167454,0.011688726022840,0.080730020999908,-0.011431719176471) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.057588085532188,0.100709639489651,-0.008852235041559,-0.023125091567636) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(-0.115893445909023,-0.039912056177855,0.112868018448353,-0.150839418172836) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(0.085492260754108,-0.065365262329578,-0.144755899906158,0.113414287567139) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(-0.099326290190220,-0.161865577101707,0.058681514114141,-0.000270475371508) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(0.164795160293579,0.000663967861328,-0.019160723313689,-0.363840878009796) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-0.089485056698322,-0.149991467595100,0.034678608179092,0.480083286762238) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(-0.087813913822174,0.090132184326649,-0.148593157529831,-0.026918867602944) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(0.009947486221790,0.069452777504921,0.042078476399183,0.104091145098209) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(0.037589862942696,-0.011300176382065,0.045680247247219,-0.076886393129826) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(-0.105658128857613,0.012739277444780,-0.101214483380318,0.298430919647217) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.013614222407341,0.250161021947861,0.145238801836967,-0.377064138650894) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.221766039729118,-0.161415979266167,-0.151404306292534,0.124308697879314) * float(LUMA_texOff(vec2(0,1)));
res += vec4(-0.093783423304558,0.095519490540028,0.105454102158546,-0.144277021288872) * float(LUMA_texOff(vec2(0,2)));
res += vec4(0.033293448388577,0.098682627081871,-0.071605883538723,-0.139802798628807) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.064005009829998,0.148090034723282,0.098204545676708,0.199615746736526) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.089912489056587,-0.185899555683136,-0.156232327222824,-0.131685271859169) * float(LUMA_texOff(vec2(1,0)));
res += vec4(0.043652083724737,0.072033941745758,0.253503561019897,-0.012317989952862) * float(LUMA_texOff(vec2(1,1)));
res += vec4(-0.042352288961411,-0.107251405715942,-0.133660390973091,0.009084061719477) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.011147241108119,0.006056986749172,-0.027019193395972,0.068269155919552) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(0.029639076441526,-0.093169450759888,0.010792250744998,0.019086558371782) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(0.006382655352354,0.071096718311310,0.023101713508368,-0.197682484984398) * float(LUMA_texOff(vec2(2,0)));
res += vec4(-0.070724494755268,-0.058920469135046,-0.087658487260342,0.027448257431388) * float(LUMA_texOff(vec2(2,1)));
res += vec4(-0.001052738865837,0.015921911224723,0.094004452228546,-0.088978931307793) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE3
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] feature map 3

vec4 hook()
{
vec4 res = vec4(0.006623805034906,0.056648395955563,0.308564126491547,-0.089949719607830);
res += vec4(-0.005936019122601,0.068611219525337,-0.012969722039998,-0.080154053866863) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.000708203180693,-0.066279843449593,0.102409981191158,0.028472069650888) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(-0.065126307308674,0.172436848282814,-0.174708649516106,-0.062143672257662) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(-0.041112005710602,-0.173757746815681,0.079751960933208,0.020465521141887) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(0.073388956487179,-0.033082798123360,0.017865115776658,-0.022215591743588) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(0.057978689670563,-0.078809216618538,-0.076006732881069,0.039283555001020) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(0.107971787452698,0.018548816442490,0.251195371150970,0.091397143900394) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-0.180259197950363,0.027324020862579,0.105088800191879,0.066511422395706) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(-0.019142152741551,-0.025206940248609,0.073928348720074,-0.055180478841066) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(-0.001607790705748,0.089930526912212,-0.012130263261497,0.003811576869339) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(0.057647734880447,0.077135831117630,-0.106314010918140,0.041402827948332) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(-0.338510543107986,0.243155092000961,-0.249964565038681,-0.464785486459732) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.398084104061127,-0.139098301529884,-0.852215111255646,0.323510080575943) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.002621057210490,-0.085195355117321,-0.413149178028107,0.261721104383469) * float(LUMA_texOff(vec2(0,1)));
res += vec4(-0.006234252359718,-0.026999413967133,-0.106300637125969,-0.057678997516632) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.160168364644051,0.025843003764749,0.069950789213181,0.067693687975407) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(0.203941926360130,-0.257776111364365,0.093029297888279,-0.191124379634857) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(-0.277252495288849,-0.247974067926407,0.141025260090828,0.315543234348297) * float(LUMA_texOff(vec2(1,0)));
res += vec4(0.176248267292976,0.348448008298874,0.347420752048492,-0.053275864571333) * float(LUMA_texOff(vec2(1,1)));
res += vec4(-0.050182871520519,0.023685198277235,0.139657035470009,-0.041274879127741) * float(LUMA_texOff(vec2(1,2)));
res += vec4(0.088875479996204,-0.057503648102283,0.016724234446883,-0.039988782256842) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(-0.004840665962547,-0.031031658872962,0.069923229515553,-0.037536151707172) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(0.107157327234745,-0.012659768573940,0.023713624104857,-0.047192286700010) * float(LUMA_texOff(vec2(2,0)));
res += vec4(-0.116645470261574,0.041656401008368,-0.071486331522465,0.001256918185391) * float(LUMA_texOff(vec2(2,1)));
res += vec4(-0.047674078494310,-0.002561264205724,0.019038101658225,0.037085298448801) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE4
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] feature map 4

vec4 hook()
{
vec4 res = vec4(-0.006712965201586,0.010385345667601,-0.265892386436462,0.072598911821842);
res += vec4(0.039087638258934,0.038979161530733,0.016922231763601,0.124400354921818) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(-0.097827084362507,-0.140728622674942,-0.094160370528698,-0.094501793384552) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(-0.031330548226833,-0.060589618980885,0.058839756995440,0.011818922124803) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.045050941407681,0.066103272140026,-0.064868792891502,0.017475135624409) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(0.043770473450422,-0.037072509527206,0.005182514432818,-0.076259911060333) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(0.015063081867993,-0.075198166072369,-0.024637535214424,-0.051067657768726) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(-0.045755736529827,-0.065370686352253,0.037597425282001,0.071989111602306) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(0.034073840826750,-0.050339639186859,-0.135537341237068,0.075139380991459) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.057296112179756,0.081055268645287,0.044488850980997,0.018021497875452) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(-0.082657158374786,-0.018167987465858,-0.019095685333014,-0.086783722043037) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.040977690368891,0.129473134875298,-0.000480011571199,-0.148679241538048) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(0.060693752020597,-0.123084902763367,0.077073879539967,0.080426581203938) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(-0.052480727434158,-0.160408869385719,0.320746690034866,0.043146371841431) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.010959327220917,-0.125837117433548,0.000940811354667,-0.054087471216917) * float(LUMA_texOff(vec2(0,1)));
res += vec4(0.069654986262321,0.018424417823553,-0.025786060839891,0.141325995326042) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.011754426173866,-0.047370936721563,0.046514000743628,0.096254475414753) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(0.054813243448734,0.298594057559967,0.046867053955793,-0.095742657780647) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(-0.000469538616017,0.143060892820358,0.137848973274231,-0.001389843411744) * float(LUMA_texOff(vec2(1,0)));
res += vec4(0.020266037434340,-0.089326523244381,-0.037821076810360,-0.072344273328781) * float(LUMA_texOff(vec2(1,1)));
res += vec4(-0.011563373729587,0.053896192461252,-0.033902719616890,0.001257320400327) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.057643134146929,-0.108881756663322,0.033834524452686,-0.043297920376062) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(0.007043253164738,-0.007412407081574,0.125493571162224,-0.034393411129713) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(-0.040750011801720,0.162948340177536,-0.022168679162860,-0.149043321609497) * float(LUMA_texOff(vec2(2,0)));
res += vec4(-0.056747190654278,0.088790886104107,0.028300633653998,0.093729637563229) * float(LUMA_texOff(vec2(2,1)));
res += vec4(0.087590731680393,-0.006067135836929,-0.051007200032473,-0.013415581546724) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE5
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] feature map 5

vec4 hook()
{
vec4 res = vec4(0.006884526927024,-0.286632269620895,0.076994530856609,-0.536341309547424);
res += vec4(0.062875695526600,-0.006445924751461,0.040769226849079,-0.037466876208782) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(-0.052070718258619,-0.044393282383680,0.117100253701210,0.092337585985661) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.120269477367401,0.209183990955353,-0.011153961531818,-0.047014236450195) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(-0.105218291282654,-0.082244679331779,-0.044572632759809,0.084593892097473) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(0.018694745376706,-0.026661232113838,-0.128951847553253,0.023575931787491) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(-0.100901938974857,-0.037866264581680,0.014522690325975,0.103983193635941) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(0.215829670429230,-0.158056199550629,-0.125532433390617,0.110696583986282) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-0.254559040069580,0.174139410257339,0.093003839254379,0.000573495053686) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.093840278685093,-0.095581136643887,0.229052498936653,-0.233004078269005) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(0.045514814555645,0.067518718540668,0.021822340786457,-0.029563521966338) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(0.145959019660950,0.118046648800373,-0.031520493328571,0.029340434819460) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(-0.041888777166605,0.018304321914911,-0.076362557709217,0.068541757762432) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.164909109473228,0.833708643913269,-0.514837503433228,0.223559081554413) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.128110632300377,-0.474599242210388,0.223709553480148,0.286320239305496) * float(LUMA_texOff(vec2(0,1)));
res += vec4(-0.187770068645477,0.055873863399029,-0.007398913614452,0.014629228040576) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.065629005432129,-0.033863678574562,0.000690730928909,0.036171916872263) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(0.107928901910782,-0.268830567598343,0.183026850223541,-0.051478419452906) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.040017858147621,0.122241839766502,0.242993459105492,0.141094624996185) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.222128704190254,0.000355337921064,-0.234512194991112,0.110840506851673) * float(LUMA_texOff(vec2(1,1)));
res += vec4(0.039066754281521,0.106389738619328,-0.169487193226814,0.026570022106171) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.031707368791103,-0.001724458066747,-0.013266132213175,-0.018006313592196) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(-0.060760203748941,-0.013190970756114,-0.133616954088211,-0.038115173578262) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(-0.082154601812363,0.196891829371452,0.097496069967747,0.084117397665977) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.015078384429216,-0.029602160677314,0.090508744120598,-0.015825575217605) * float(LUMA_texOff(vec2(2,1)));
res += vec4(0.022834211587906,-0.142767101526260,0.013774909079075,0.020327933132648) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE6
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] feature map 6

vec4 hook()
{
vec4 res = vec4(-0.436416506767273,-0.059606239199638,0.016789767891169,0.031869258731604);
res += vec4(0.003526177024469,0.069437637925148,0.002280002227053,0.015576340258121) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.006335503421724,0.136146813631058,0.008471098728478,0.007336388807744) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.059455949813128,-0.166015475988388,0.025335071608424,0.085382476449013) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(-0.043232221156359,0.033599805086851,0.058551553636789,-0.049658060073853) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(-0.001376146916300,0.036810148507357,-0.008011278696358,-0.056682791560888) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(0.011435743421316,0.035942506045103,-0.018219709396362,0.083434298634529) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(0.135027289390564,-0.182361647486687,-0.055634010583162,-0.027527140453458) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(0.243358373641968,0.244107767939568,0.088412791490555,-0.112271577119827) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.134312018752098,0.039506014436483,-0.002353325951844,-0.016325227916241) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(-0.013794149272144,-0.098680019378662,-0.032701391726732,-0.036949150264263) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(0.046917546540499,-0.089441731572151,0.059342410415411,-0.038618054240942) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(-0.056697983294725,0.052884161472321,0.121669910848141,0.167490646243095) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.207764625549316,0.065232828259468,0.088308326900005,-0.303555577993393) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.223173886537552,0.002524188021198,0.027143115177751,0.031558871269226) * float(LUMA_texOff(vec2(0,1)));
res += vec4(0.138207226991653,-0.078137628734112,0.081021398305893,0.120404414832592) * float(LUMA_texOff(vec2(0,2)));
res += vec4(0.028484206646681,-0.024674285203218,-0.025436401367188,0.009884892962873) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(0.076976642012596,0.005458304658532,-0.076773464679718,-0.094906926155090) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(-0.095387317240238,-0.021290376782417,-0.193023249506950,0.220701158046722) * float(LUMA_texOff(vec2(1,0)));
res += vec4(0.200667604804039,0.015891574323177,-0.019380502402782,0.023538887500763) * float(LUMA_texOff(vec2(1,1)));
res += vec4(-0.010142831131816,0.121405385434628,-0.046163391321898,-0.017462320625782) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.062583200633526,-0.033409386873245,-0.047965314239264,-0.046343043446541) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(0.062060005962849,0.058287333697081,-0.006412514951080,-0.023219848051667) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(0.041325889527798,-0.054930701851845,0.099978163838387,0.050981312990189) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.100057624280453,-0.073376081883907,-0.067186914384365,-0.011355099268258) * float(LUMA_texOff(vec2(2,1)));
res += vec4(-0.059118233621120,-0.010391497053206,-0.037827875465155,-0.040194027125835) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL1
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 1_1

vec4 hook()
{
vec4 res = vec4(0.213534131646156,-0.159363418817520,0.022619886323810,-0.194047272205353);
res += mat4(-0.012548454105854,-0.015292473137379,0.079082734882832,0.026150051504374,0.044918842613697,0.036577075719833,-0.107708171010017,-0.109257683157921,-0.074106164276600,-0.004419536795467,0.008858687244356,-0.003581822849810,-0.054098863154650,0.053908284753561,-0.092607013881207,-0.050569996237755) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(0.025078747421503,-0.026269584894180,0.126606285572052,0.048330303281546,-0.015653148293495,-0.078727006912231,0.077114582061768,-0.023402541875839,-0.010836272500455,-0.026632780209184,-0.036498170346022,0.006275519728661,-0.068564116954803,-0.114955969154835,0.040194388478994,0.030590021982789) * FEATURE1_texOff(vec2(-1,0));
res += mat4(0.041032899171114,0.163801416754723,-0.093755029141903,0.009590784087777,-0.024876529350877,-0.068012550473213,0.064517840743065,-0.026284497231245,0.022341670468450,-0.088335394859314,0.019420418888330,0.025390692055225,-0.024057822301984,0.073408856987953,0.133030101656914,-0.026090828701854) * FEATURE1_texOff(vec2(-1,1));
res += mat4(0.026133712381124,0.031911984086037,-0.125909954309464,0.034590601921082,0.022901356220245,-0.056237954646349,-0.049704194068909,-0.050995107740164,0.042027384042740,-0.008890533819795,0.066310197114944,-0.043655950576067,-0.119548052549362,-0.003517849836498,-0.043660640716553,0.007871547713876) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.089151255786419,0.107925601303577,0.041106972843409,-0.022138657048345,-0.082419253885746,-0.210095301270485,0.013972455635667,0.111510291695595,0.009922668337822,0.017343945801258,-0.130023166537285,0.000653866038192,-0.107727378606796,-0.190965786576271,0.008068932220340,0.048222795128822) * FEATURE1_texOff(vec2(0,0));
res += mat4(0.055357500910759,0.048637125641108,0.045219883322716,-0.037832815200090,-0.068780437111855,-0.048060450702906,-0.117623917758465,0.001275262911804,-0.055892527103424,0.082670636475086,-0.004372742492706,-0.065869316458702,0.006680452730507,-0.010664286091924,0.032077379524708,-0.181812062859535) * FEATURE1_texOff(vec2(0,1));
res += mat4(0.098951928317547,0.021543251350522,-0.049676243215799,0.038346979767084,-0.017909802496433,0.058149311691523,-0.006613411009312,-0.050310421735048,0.081513933837414,-0.065554395318031,0.136959403753281,0.004917171783745,-0.064859621226788,-0.000602751737460,0.090651854872704,-0.004217419773340) * FEATURE1_texOff(vec2(1,-1));
res += mat4(-0.010861185379326,-0.027170434594154,0.123206175863743,-0.035260271281004,-0.026775479316711,-0.077015474438667,-0.049553453922272,0.042734000831842,-0.072282686829567,0.052809160202742,0.078954935073853,0.024804780259728,-0.101104035973549,-0.130038216710091,0.003168955212459,-0.030818464234471) * FEATURE1_texOff(vec2(1,0));
res += mat4(0.040465928614140,-0.062610320746899,-0.017918724566698,0.030186519026756,-0.115105159580708,0.178065747022629,-0.018727093935013,-0.000625864078756,0.008416038937867,-0.013736293651164,0.035746112465858,0.070133171975613,-0.002405991544947,0.119322493672371,-0.129185318946838,-0.194538593292236) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.017673376947641,0.053539726883173,0.034374870359898,-0.045094359666109,0.033204995095730,0.025467393919826,0.102014034986496,0.000375380361220,-0.016676297411323,0.008676564320922,-0.036483619362116,0.006052709184587,0.075910478830338,0.006253432482481,-0.001344795571640,-0.024341434240341) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(0.050680793821812,0.118119947612286,-0.026547070592642,-0.037738095968962,-0.081240803003311,0.036726720631123,0.068802922964096,-0.055921472609043,-0.017496662214398,0.017327029258013,0.030170328915119,-0.030946703627706,0.118460692465305,-0.068100899457932,0.160424530506134,0.012714505195618) * FEATURE2_texOff(vec2(-1,0));
res += mat4(0.036717269569635,-0.046475660055876,0.087343320250511,-0.046549540013075,0.003430524608120,0.075680762529373,-0.178662419319153,-0.020531937479973,0.007690919097513,-0.025240315124393,-0.141611710190773,0.033820476382971,0.115797616541386,0.001426799572073,-0.119128637015820,-0.066880114376545) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.005639452487230,0.105695918202400,-0.180200174450874,-0.054152633994818,-0.031604602932930,0.006490165367723,-0.214431524276733,0.034405715763569,0.016651583835483,-0.013415249995887,0.139804303646088,-0.018884019926190,-0.008440977893770,0.002083528321236,0.132618486881256,-0.007489754818380) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.084046743810177,-0.044045779854059,0.197409555315971,0.049288310110569,0.019665770232677,-0.012656382285058,0.109420955181122,0.001119194901548,0.054772756993771,-0.100111104547977,-0.072017021477222,0.006999510340393,0.018291164189577,-0.047480121254921,-0.126221865415573,0.125288784503937) * FEATURE2_texOff(vec2(0,0));
res += mat4(0.074350774288177,-0.144232138991356,-0.111695304512978,-0.016125939786434,0.019573323428631,0.036397155374289,0.083031967282295,0.050534971058369,-0.033857166767120,0.064925976097584,0.151883944869041,-0.037947181612253,-0.058274812996387,-0.041676327586174,0.026157639920712,0.055400852113962) * FEATURE2_texOff(vec2(0,1));
res += mat4(0.065084137022495,0.104253374040127,0.039064247161150,-0.094817474484444,-0.046510208398104,-0.026106975972652,-0.007616131566465,0.003815702628344,0.112087406218052,-0.142013058066368,-0.052756249904633,0.004700740333647,0.020522836595774,0.096886955201626,-0.034838773310184,-0.071938209235668) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.050813928246498,-0.162384554743767,-0.098012022674084,-0.004355354234576,0.028163710609078,0.014209242537618,-0.003892179578543,-0.026872657239437,-0.028963204473257,0.116579130291939,0.062190771102905,-0.076772622764111,-0.098590992391109,-0.124982059001923,-0.035234481096268,0.090415857732296) * FEATURE2_texOff(vec2(1,0));
res += mat4(-0.025392696261406,0.127776399254799,-0.034427095204592,-0.004999203141779,-0.026277931407094,-0.129873186349869,0.104171186685562,0.055172529071569,0.024847427383065,0.026401555165648,-0.021747807040811,0.032408457249403,-0.097038045525551,-0.062600046396255,-0.138946548104286,-0.004463020246476) * FEATURE2_texOff(vec2(1,1));
res += mat4(-0.068694733083248,0.111693151295185,0.052433341741562,0.007557719014585,0.042501349002123,-0.057119105011225,-0.025233099237084,-0.054845906794071,-0.055544752627611,0.076391354203224,-0.167613044381142,-0.021748838946223,0.023899830877781,0.014826127327979,0.124709390103817,0.025994809344411) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.011258103884757,0.024208964779973,-0.092434003949165,-0.005078145302832,0.015109008178115,-0.125539630651474,-0.037440627813339,0.034010831266642,-0.063896685838699,0.020047996193171,0.149019703269005,-0.061823919415474,-0.030111350119114,0.095456853508949,-0.112079225480556,0.081141367554665) * FEATURE3_texOff(vec2(-1,0));
res += mat4(0.052071340382099,0.027588628232479,0.010247141122818,0.009092060849071,-0.001837463001721,-0.051381330937147,-0.006194947753102,0.032247409224510,-0.054984387010336,-0.068657197058201,0.031239530071616,0.050123114138842,-0.061949174851179,0.032915782183409,0.129441708326340,-0.010341753251851) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.036172248423100,0.096787557005882,0.083977133035660,-0.028728958219290,0.021750077605247,-0.007648941129446,-0.033016733825207,-0.011112769134343,-0.081224329769611,-0.066899083554745,-0.001717817853205,-0.044273860752583,0.055285770446062,0.063683293759823,-0.107981562614441,-0.035999834537506) * FEATURE3_texOff(vec2(0,-1));
res += mat4(0.014643752016127,0.040840692818165,-0.030009487643838,0.065033152699471,0.019267018884420,-0.171493962407112,-0.035611703991890,0.085379116237164,-0.012699862010777,-0.151307985186577,0.002954784315079,-0.019399683922529,-0.204889059066772,0.028456462547183,0.153694108128548,0.041000377386808) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.029537871479988,0.009383324533701,0.061269808560610,-0.012979882769287,-0.023243937641382,0.128252372145653,0.043419014662504,-0.115220703184605,-0.017568901181221,-0.051479075103998,-0.023971885442734,-0.006251228973269,0.054792899638414,-0.094645887613297,-0.019056396558881,-0.005627243779600) * FEATURE3_texOff(vec2(0,1));
res += mat4(0.039387308061123,0.075719915330410,-0.004673506598920,-0.055529400706291,0.021113822236657,-0.076114416122437,0.004945060238242,0.025933647528291,-0.021499941125512,-0.021989936009049,-0.093913860619068,-0.056442245841026,0.035808634012938,0.042853929102421,-0.063474334776402,0.014388460665941) * FEATURE3_texOff(vec2(1,-1));
res += mat4(-0.089477337896824,-0.067125618457794,-0.064666785299778,0.107969649136066,-0.065704733133316,-0.000541151210200,-0.174182951450348,-0.026860894635320,0.050728335976601,0.100446648895741,-0.091432034969330,-0.223457559943199,-0.017041841521859,-0.132829725742340,0.098379112780094,-0.001603240612894) * FEATURE3_texOff(vec2(1,0));
res += mat4(-0.019946936517954,-0.065084233880043,0.019675714895129,0.124945536255836,-0.093615859746933,0.292494237422943,0.015500534325838,-0.085141278803349,-0.079994179308414,0.264167636632919,0.004640632309020,-0.228568568825722,0.048990078270435,0.057439450174570,-0.185493126511574,-0.028636867180467) * FEATURE3_texOff(vec2(1,1));
res += mat4(-0.001015475369059,0.016705933958292,-0.041902940720320,0.043825548142195,-0.068319253623486,0.062368854880333,0.090842232108116,0.001854432630353,-0.052742984145880,0.055128280073404,0.091389000415802,0.022161269560456,0.063208736479282,0.000372315262211,-0.065206915140152,0.005151438061148) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(0.013940844684839,0.015074310824275,0.010567729361355,0.023306475952268,0.002197253983468,-0.040608443319798,-0.163479924201965,-0.014889331534505,-0.071475699543953,0.045129843056202,-0.105707071721554,-0.030719850212336,0.082845315337181,-0.029886405915022,0.100336730480194,0.015682458877563) * FEATURE4_texOff(vec2(-1,0));
res += mat4(0.060074999928474,0.022471373900771,0.094225659966469,-0.005694874562323,-0.017548695206642,-0.064360678195953,0.068951569497585,0.004001808352768,-0.023957950994372,0.098206095397472,0.057698804885149,-0.034483730792999,-0.086919948458672,0.101330794394016,0.149072095751762,-0.015286330133677) * FEATURE4_texOff(vec2(-1,1));
res += mat4(-0.048789352178574,-0.031668081879616,0.063613913953304,0.011344021186233,-0.032182812690735,-0.111052468419075,0.065891385078430,0.014476745389402,-0.048446934670210,0.106322921812534,-0.016279680654407,0.016019931063056,-0.003424778813496,-0.093606933951378,-0.126283794641495,-0.001794418552890) * FEATURE4_texOff(vec2(0,-1));
res += mat4(-0.033657371997833,-0.003917194437236,-0.112098604440689,-0.004866035655141,0.034621622413397,-0.032473050057888,-0.020543225109577,-0.072035640478134,-0.099304303526878,0.088906861841679,0.124421007931232,-0.015263436362147,0.099107168614864,-0.001434077974409,-0.118019945919514,-0.013407661579549) * FEATURE4_texOff(vec2(0,0));
res += mat4(-0.038409080356359,-0.011010199785233,-0.086516939103603,-0.028166849166155,-0.031184850260615,-0.102970942854881,-0.091190710663795,-0.013432906940579,0.010805478319526,-0.019365161657333,0.047886282205582,-0.013395007699728,-0.055754937231541,0.056121755391359,0.002293830038980,0.031336791813374) * FEATURE4_texOff(vec2(0,1));
res += mat4(0.078831546008587,0.028680156916380,0.152271822094917,0.014693335630000,0.110680788755417,0.026653578504920,0.092347010970116,0.054297197610140,-0.032077584415674,0.043950520455837,0.001847555977292,-0.020771455019712,-0.049742091447115,-0.039581485092640,0.120999366044998,0.037067346274853) * FEATURE4_texOff(vec2(1,-1));
res += mat4(-0.040319178253412,0.055239260196686,-0.060373179614544,-0.032930627465248,0.090174078941345,0.123564071953297,0.019995430484414,-0.037062034010887,0.107974216341972,-0.050615221261978,-0.009733643382788,-0.039541311562061,-0.031595703214407,0.094402551651001,-0.028611559420824,-0.005949403159320) * FEATURE4_texOff(vec2(1,0));
res += mat4(-0.008028963580728,-0.003178214887157,-0.082637183368206,-0.091441377997398,0.149170562624931,0.049365311861038,0.061720538884401,-0.215815663337708,0.102553687989712,-0.112070210278034,0.012638847343624,-0.009591384790838,-0.086098641157150,-0.037199746817350,-0.016837481409311,0.023488977923989) * FEATURE4_texOff(vec2(1,1));
res += mat4(0.023909261450171,-0.075453117489815,0.241586446762085,-0.025533407926559,0.029624905437231,0.039634030312300,0.215454101562500,0.002556904684752,0.148401379585266,0.042221143841743,0.056248478591442,-0.029635066166520,-0.055921703577042,-0.010480201803148,-0.113342411816120,0.040834378451109) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(0.059810806065798,0.110082760453224,-0.154186874628067,-0.042871706187725,0.031966175884008,0.046379797160625,-0.213530421257019,0.036490280181170,-0.069848500192165,0.022906923666596,-0.038791444152594,-0.018741494044662,-0.123358771204948,0.031287126243114,-0.080157116055489,0.006309979595244) * FEATURE5_texOff(vec2(-1,0));
res += mat4(0.084930643439293,0.086495332419872,0.066562660038471,-0.036344159394503,0.029827758669853,0.008953451178968,-0.037718106061220,0.050205986946821,-0.121539361774921,0.002774873282760,-0.092320442199707,-0.014951506629586,0.241589531302452,0.006527558900416,0.051514033228159,0.030706277117133) * FEATURE5_texOff(vec2(-1,1));
res += mat4(0.146181851625443,0.044979959726334,-0.148386433720589,-0.030025184154510,0.090064987540245,-0.045961912721395,-0.071265906095505,0.057299867272377,0.064748197793961,0.084890626370907,0.002977578202263,-0.041578941047192,-0.043460626155138,0.002647665096447,0.052719730883837,0.020081952214241) * FEATURE5_texOff(vec2(0,-1));
res += mat4(-0.037999588996172,0.198037669062614,0.190071433782578,-0.005776167847216,0.119408592581749,0.212893635034561,0.028800142928958,-0.015437023714185,0.096570350229740,-0.039154209196568,0.011065386235714,-0.010482148267329,-0.087736912071705,-0.060436956584454,-0.066419556736946,-0.050801817327738) * FEATURE5_texOff(vec2(0,0));
res += mat4(0.112981200218201,-0.153510749340057,-0.136640846729279,0.075040541589260,-0.125630512833595,0.017632711678743,0.114939197897911,0.158832088112831,-0.073990032076836,-0.050907477736473,-0.066473633050919,0.032436922192574,0.138554394245148,0.048495508730412,-0.059985127300024,-0.127033278346062) * FEATURE5_texOff(vec2(0,1));
res += mat4(-0.008163891732693,0.178250983357430,0.075970374047756,-0.058339823037386,-0.033902410417795,-0.149317830801010,-0.169119656085968,0.012220923788846,-0.059483937919140,0.046838685870171,0.205193534493446,0.045836679637432,0.047621168196201,-0.039112340658903,-0.040250856429338,-0.004292496480048) * FEATURE5_texOff(vec2(1,-1));
res += mat4(0.070999197661877,-0.076477006077766,-0.075116716325283,0.025447934865952,0.062136169523001,0.211529284715652,0.045877076685429,-0.095098450779915,0.080098487436771,-0.185018628835678,0.062547363340855,0.160823464393616,0.012607767246664,-0.065249681472778,-0.007715694606304,-0.108690261840820) * FEATURE5_texOff(vec2(1,0));
res += mat4(0.184087693691254,-0.061717566102743,0.067128479480743,0.008011326193810,-0.085099950432777,-0.152560159564018,0.011879804544151,0.294033139944077,0.028313219547272,0.102747522294521,-0.065629780292511,-0.133297711610794,0.106835857033730,0.090390510857105,0.010025774128735,-0.155915841460228) * FEATURE5_texOff(vec2(1,1));
res += mat4(-0.241130024194717,0.086043208837509,0.057341899722815,-0.091786265373230,-0.010409113019705,0.042204491794109,-0.012888852506876,-0.002821716945618,0.038426324725151,0.021373875439167,0.014791353605688,-0.019397595897317,0.085120573639870,0.029271060600877,-0.079725429415703,-0.001053954940289) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(-0.155191108584404,-0.152847126126289,0.087054252624512,0.008676798082888,0.082002237439156,0.012504838407040,0.172407791018486,-0.013234230689704,0.041764955967665,-0.002669211709872,0.077613517642021,-0.031693965196609,0.029250279068947,0.067396238446236,-0.001225820509717,-0.003724785987288) * FEATURE6_texOff(vec2(-1,0));
res += mat4(0.026970025151968,0.034178629517555,-0.031007034704089,-0.077821046113968,0.042920280247927,0.117037825286388,-0.083706028759480,-0.003034908324480,0.001205320353620,-0.004688288550824,-0.017716109752655,-0.013289111666381,0.016864387318492,-0.034539718180895,0.011221913620830,0.018080521374941) * FEATURE6_texOff(vec2(-1,1));
res += mat4(-0.108613997697830,-0.053115848451853,-0.097251370549202,-0.083102449774742,-0.039501477032900,-0.020142043009400,0.170928314328194,0.008761198259890,0.054713860154152,0.029907781630754,0.112422987818718,-0.012843037024140,-0.111689753830433,-0.016708852723241,0.058803845196962,0.047627963125706) * FEATURE6_texOff(vec2(0,-1));
res += mat4(-0.156226366758347,-0.184900060296059,-0.115732252597809,-0.042336825281382,-0.056503437459469,0.062953732907772,-0.220953509211540,0.022698445245624,0.120922133326530,0.070369534194469,-0.013134111650288,-0.009460387751460,0.054029047489166,-0.159058451652527,0.095398180186749,0.034502010792494) * FEATURE6_texOff(vec2(0,0));
res += mat4(-0.037531733512878,0.033886644989252,0.019770741462708,-0.291469842195511,0.047708980739117,-0.027600688859820,0.050339058041573,0.021494586020708,0.049694113433361,0.171077355742455,-0.003021969227120,-0.007932484149933,-0.045529063791037,-0.094945475459099,-0.026430759578943,0.059978324919939) * FEATURE6_texOff(vec2(0,1));
res += mat4(-0.162716567516327,-0.045285083353519,-0.049835573881865,0.017029212787747,0.107665374875069,0.043285321444273,-0.077840760350227,-0.088024087250233,0.051330093294382,-0.051507830619812,-0.076401047408581,-0.028161462396383,-0.103583283722401,-0.009371890686452,0.106840357184410,0.025556217879057) * FEATURE6_texOff(vec2(1,-1));
res += mat4(-0.215406477451324,-0.182026788592339,-0.033642563968897,0.028863010928035,-0.150963008403778,0.089403867721558,0.092074975371361,-0.037619866430759,-0.031544022262096,0.003359800204635,0.094127513468266,0.111936189234257,0.016875129193068,0.034723337739706,-0.011349461972713,-0.025410644710064) * FEATURE6_texOff(vec2(1,0));
res += mat4(-0.043093070387840,-0.025730822235346,0.157265141606331,-0.243124648928642,-0.011176803149283,-0.128990963101387,-0.101957276463509,-0.003161590080708,0.015251227654517,-0.105794236063957,0.120896488428116,0.188025563955307,-0.119603902101517,0.187275379896164,0.024669433012605,-0.067126162350178) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.208192005753517,-0.023175913840532,0.826266825199127,0.003707287600264) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL2
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 1_2

vec4 hook()
{
vec4 res = vec4(-0.601567327976227,-0.088619947433472,-0.186921685934067,-0.020834494382143);
res += mat4(-0.032197337597609,-0.082496806979179,0.054838169366121,0.124647013843060,-0.089806511998177,-0.021262986585498,0.033608727157116,-0.105115249752998,-0.169916287064552,-0.051016788929701,0.014478797093034,-0.041970260441303,0.074503444135189,-0.013560432009399,0.016401965171099,-0.007735897321254) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.060408849269152,0.146546438336372,-0.130391359329224,-0.102304346859455,-0.053495328873396,0.127247720956802,-0.042626321315765,0.004640737548470,0.120292678475380,0.138874441385269,-0.091681249439716,0.028347287327051,-0.121081106364727,0.207903802394867,-0.074395157396793,-0.094154700636864) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.033567175269127,0.049338210374117,0.048865932971239,-0.074791111052036,-0.055629346519709,-0.178378760814667,0.055677231401205,-0.041976537555456,-0.024655906483531,0.015014406293631,-0.034854788333178,-0.044102083891630,-0.001566751510836,0.050188954919577,-0.030591648072004,0.063429176807404) * FEATURE1_texOff(vec2(-1,1));
res += mat4(0.319103479385376,-0.132847785949707,-0.028558447957039,0.203845739364624,-0.174600154161453,-0.030436392873526,0.024394212290645,-0.093195334076881,0.123187899589539,0.017133601009846,0.054324023425579,0.076830089092255,0.146503061056137,0.066529572010040,-0.056823801249266,-0.056970208883286) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.161210149526596,-0.116061098873615,0.115717180073261,-0.180954501032829,-0.252583920955658,0.063662752509117,-0.088758952915668,0.030490757897496,-0.130720913410187,-0.169254839420319,0.063956208527088,-0.056326333433390,-0.128652274608612,-0.050100304186344,-0.000684156373609,-0.105757832527161) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.213501438498497,0.278364598751068,0.113677822053432,-0.094882130622864,0.107170753180981,-0.001763398293406,0.001603361219168,0.011702077463269,-0.006720492150635,0.137265220284462,0.178455874323845,-0.063230514526367,-0.050689209252596,0.034050952643156,0.030784647911787,-0.007191452663392) * FEATURE1_texOff(vec2(0,1));
res += mat4(0.038276825100183,-0.026990478858352,0.088815182447433,0.028036884963512,-0.174084827303886,0.074190005660057,-0.003640009090304,-0.047715678811073,-0.023918012157083,0.059556659311056,0.094781585037708,-0.003144278889522,-0.194769069552422,-0.027852382510900,-0.031163264065981,-0.100955784320831) * FEATURE1_texOff(vec2(1,-1));
res += mat4(-0.033645626157522,-0.178942516446114,0.057122532278299,-0.046208862215281,0.020418813452125,0.053483493626118,-0.037924975156784,0.099225692451000,-0.014670730568469,-0.123843401670456,0.102888397872448,-0.040942575782537,-0.192592486739159,-0.097219638526440,0.059742864221334,0.005496453493834) * FEATURE1_texOff(vec2(1,0));
res += mat4(-0.066625110805035,0.102828629314899,-0.049584548920393,-0.038367655128241,-0.044391814619303,-0.073518604040146,0.178921669721603,-0.012375984340906,0.118455350399017,0.007217832840979,-0.049243878573179,0.096040837466717,-0.009597120806575,-0.158596888184547,0.129812061786652,0.031193504109979) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.105989173054695,-0.056483712047338,-0.043793316930532,0.028339752927423,-0.135168030858040,-0.074578545987606,0.101393900811672,-0.032240062952042,-0.042745947837830,-0.062255464494228,-0.030070822685957,-0.046909317374229,-0.013801319524646,0.019400903955102,-0.018297407776117,-0.164138704538345) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(-0.029696417972445,0.128251895308495,0.037740673869848,-0.095843121409416,0.171233817934990,0.057013813406229,-0.065409086644650,0.091071322560310,0.058202996850014,0.068614296615124,-0.043791640549898,0.048534940928221,0.061949942260981,0.027519144117832,0.141939342021942,0.146932616829872) * FEATURE2_texOff(vec2(-1,0));
res += mat4(0.026496585458517,-0.077336758375168,-0.000823971640784,-0.007374035660177,0.010672563686967,-0.078535400331020,-0.046729881316423,-0.015909085050225,-0.084768779575825,-0.049941375851631,-0.027324261143804,-0.016300518065691,-0.088071301579475,-0.183130487799644,0.042149156332016,0.025595964863896) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.068042658269405,-0.022459648549557,0.005595827475190,-0.036384750157595,0.229282364249229,0.059440273791552,0.000289385905489,0.079703241586685,0.054472558200359,0.043486770242453,0.076935634016991,0.030672380700707,-0.093758702278137,-0.045944202691317,0.064851947128773,0.013168996199965) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.081052295863628,0.063645333051682,0.041113428771496,-0.031719889491796,0.084678128361702,0.025409342721105,0.045040197670460,-0.067247919738293,-0.062600858509541,-0.146002665162086,-0.045617561787367,-0.068457424640656,0.141357645392418,0.139658287167549,-0.127486318349838,0.028295742347836) * FEATURE2_texOff(vec2(0,0));
res += mat4(0.038879398256540,0.009273960255086,-0.087276592850685,0.041824936866760,-0.033206228166819,0.088119015097618,0.111171975731850,-0.122911594808102,0.064198575913906,0.054888203740120,0.062732256948948,-0.067156851291656,-0.097530275583267,-0.106721885502338,0.067804478108883,-0.047859858721495) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.033508714288473,0.001293689478189,0.051962610334158,-0.055090490728617,-0.087623037397861,-0.005679190158844,-0.025085141882300,-0.012354978360236,0.043437451124191,-0.024262441322207,-0.066730171442032,0.077368244528770,0.181607916951180,0.010373927652836,-0.143150895833969,0.143216654658318) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.048930555582047,-0.090173587203026,-0.044877849519253,0.087818406522274,-0.039327234029770,-0.005580460652709,0.029193224385381,-0.033757675439119,-0.047886468470097,-0.073090828955173,0.070588983595371,-0.071430124342442,-0.215398132801056,-0.129084020853043,-0.162883609533310,-0.117879390716553) * FEATURE2_texOff(vec2(1,0));
res += mat4(-0.111718036234379,0.015055989846587,0.112765453755856,-0.081493645906448,-0.143543675541878,-0.021411569789052,-0.093548029661179,0.000392794085201,0.080399550497532,0.072990030050278,-0.127392604947090,0.077408678829670,0.086098633706570,0.179305598139763,0.148341283202171,0.006935167592019) * FEATURE2_texOff(vec2(1,1));
res += mat4(-0.051775671541691,-0.022026605904102,0.095897406339645,-0.078978337347507,-0.169870108366013,-0.052763879299164,0.049522273242474,-0.227074295282364,0.032850641757250,0.007215338293463,0.174732282757759,-0.102836757898331,0.083567745983601,-0.035635337233543,-0.007848206907511,0.071262173354626) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.112346798181534,0.144602835178375,-0.034950152039528,0.103132776916027,-0.119085013866425,0.166563019156456,-0.000020611434593,0.108736515045166,-0.043971285223961,-0.098172806203365,0.166757434606552,-0.073782823979855,-0.083847709000111,-0.007334270514548,0.032994419336319,-0.241067484021187) * FEATURE3_texOff(vec2(-1,0));
res += mat4(-0.084606662392616,-0.084820203483105,0.046697415411472,-0.096592426300049,0.013014903292060,-0.099465310573578,-0.109080404043198,0.103633746504784,0.061404347419739,-0.127673402428627,0.122745193541050,0.007521187420934,0.101694345474243,0.110163047909737,0.157685801386833,-0.054595764726400) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.186748147010803,-0.115421198308468,0.030143273994327,0.109830565750599,-0.025882519781590,0.039734497666359,-0.062478456646204,-0.036008022725582,-0.409465521574020,0.139142170548439,-0.001760503742844,-0.083571694791317,0.100263051688671,-0.104318857192993,0.061786122620106,0.070855528116226) * FEATURE3_texOff(vec2(0,-1));
res += mat4(-0.208540037274361,-0.067398972809315,0.023376271128654,-0.116426378488541,0.238407403230667,0.019214361906052,-0.132763326168060,0.104920946061611,-0.101089835166931,0.055872000753880,-0.270324409008026,0.146590486168861,-0.434278815984726,-0.007881486788392,0.176722496747971,-0.178700625896454) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.065101936459541,0.101741388440132,0.070452772080898,0.066288404166698,0.018778998404741,-0.010023908689618,0.112341389060020,0.001940624788404,-0.084557309746742,-0.136833757162094,-0.266797721385956,-0.005508257541806,0.098251156508923,0.146739840507507,-0.030466979369521,0.059564117342234) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.149137780070305,0.093745186924934,0.021808011457324,-0.045929890125990,0.047111067920923,0.118930689990520,0.115232162177563,-0.037834536284208,0.030939307063818,0.081037051975727,-0.137029096484184,-0.058011565357447,0.097138382494450,-0.025710742920637,-0.043151464313269,-0.030739216133952) * FEATURE3_texOff(vec2(1,-1));
res += mat4(0.034492060542107,-0.077656514942646,0.137104973196983,-0.001952584017999,-0.045185659080744,-0.071930646896362,0.045790087431669,-0.004216672852635,0.081495404243469,0.172461003065109,-0.063444025814533,0.083598949015141,0.067295685410500,-0.085449226200581,-0.117676846683025,0.026845419779420) * FEATURE3_texOff(vec2(1,0));
res += mat4(0.072484023869038,-0.009778108447790,0.074199646711349,0.015455752611160,-0.029741479083896,-0.036055680364370,0.147832468152046,-0.036645602434874,-0.025817405432463,-0.088759988546371,0.153009459376335,-0.059267640113831,-0.002406534273177,0.006439696066082,-0.076511628925800,0.054685994982719) * FEATURE3_texOff(vec2(1,1));
res += mat4(0.039352640509605,0.012206230312586,-0.005201659165323,-0.050294596701860,0.083595693111420,-0.017032349482179,0.085027888417244,0.009708401747048,0.083373852074146,0.007231486029923,0.043988082557917,0.120703987777233,0.020803580060601,0.037258315831423,0.002657894277945,0.009062899276614) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(0.004541091155261,0.009361851960421,0.085942618548870,-0.045801535248756,0.187440991401672,-0.176060348749161,0.014890908263624,0.005367241334170,0.148184537887573,-0.092077642679214,0.009617044590414,-0.013582352548838,-0.076086871325970,-0.053896646946669,-0.058703824877739,0.008573997765779) * FEATURE4_texOff(vec2(-1,0));
res += mat4(-0.023905029520392,-0.045836675912142,0.042242642492056,0.034932516515255,-0.123817302286625,0.015711074694991,0.043791010975838,-0.045412112027407,-0.026351368054748,0.097252316772938,-0.018932916224003,-0.015375595539808,0.029371727257967,-0.010575107298791,0.069770582020283,0.030930751934648) * FEATURE4_texOff(vec2(-1,1));
res += mat4(-0.041385319083929,0.005955196451396,0.057179737836123,-0.029750939458609,-0.110647074878216,0.087352328002453,-0.081038765609264,0.074241772294044,0.146043598651886,0.000049661033700,-0.081100746989250,0.159779652953148,0.018973115831614,0.100891321897507,-0.007010827772319,0.034974362701178) * FEATURE4_texOff(vec2(0,-1));
res += mat4(0.071256771683693,0.092962317168713,0.049246575683355,0.006473725195974,-0.023559257388115,0.066649533808231,-0.104873232543468,-0.018599556759000,0.076802298426628,-0.110644139349461,0.044359873980284,-0.077567502856255,-0.022398918867111,-0.089168176054955,0.077574878931046,0.024673594161868) * FEATURE4_texOff(vec2(0,0));
res += mat4(-0.004716788418591,0.014433730393648,0.003159453393891,-0.027167011052370,0.212459444999695,-0.011102579534054,-0.157625645399094,0.042968086898327,-0.072316490113735,0.185023486614227,-0.086665652692318,-0.059223551303148,-0.081509515643120,0.121033251285553,0.061714451760054,-0.050958599895239) * FEATURE4_texOff(vec2(0,1));
res += mat4(0.016972238197923,-0.012874376960099,-0.052296198904514,-0.004844680428505,-0.050504855811596,0.021334357559681,0.009348283521831,-0.075782947242260,-0.010208630003035,0.010257232002914,-0.000070286201662,0.074951134622097,0.021174304187298,-0.089871332049370,-0.013869247399271,-0.005999155342579) * FEATURE4_texOff(vec2(1,-1));
res += mat4(-0.065996147692204,0.068093687295914,-0.011714720167220,-0.049115639179945,-0.099468834698200,0.052070923149586,0.068241193890572,-0.058691419661045,-0.005445780698210,-0.025479337200522,0.115246735513210,-0.060814846307039,0.065854027867317,0.080398201942444,-0.104334264993668,-0.023020086809993) * FEATURE4_texOff(vec2(1,0));
res += mat4(0.003242993494496,-0.073715656995773,0.033656936138868,0.016416357830167,-0.126959905028343,-0.005321644246578,0.016635959967971,0.037630271166563,-0.056138962507248,0.006531823892146,0.051241457462311,0.012004696764052,-0.037893284112215,-0.081801250576973,-0.127338886260986,0.052500151097775) * FEATURE4_texOff(vec2(1,1));
res += mat4(-0.059701323509216,-0.044549770653248,-0.050753623247147,0.041715871542692,0.053780380636454,-0.029474072158337,0.111038751900196,0.127279967069626,0.185450404882431,-0.083478800952435,-0.097856238484383,0.090684518218040,0.226557627320290,0.100658811628819,-0.107365809381008,-0.004078537225723) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(0.111111886799335,0.045730121433735,-0.076200157403946,0.019537551328540,-0.117294169962406,-0.138507187366486,-0.082107901573181,-0.108708120882511,0.027005566284060,-0.134823560714722,0.067562401294708,0.060246609151363,0.074252925813198,0.128018289804459,-0.000036331322917,-0.103372037410736) * FEATURE5_texOff(vec2(-1,0));
res += mat4(-0.097675099968910,0.095013119280338,0.010293883271515,-0.066615276038647,-0.025180000811815,0.223123654723167,0.005017695948482,-0.091140002012253,-0.000768996425904,0.008595888502896,-0.019154816865921,0.040576752275229,0.067561507225037,0.086708486080170,-0.028080755844712,0.032619971781969) * FEATURE5_texOff(vec2(-1,1));
res += mat4(0.050843607634306,-0.079212792217731,-0.078786037862301,0.039981514215469,0.433725863695145,0.001994718099013,-0.141997575759888,0.332955062389374,-0.244795009493828,0.081622295081615,0.032125178724527,-0.174343094229698,0.333881467580795,-0.157266914844513,0.065235212445259,-0.032214302569628) * FEATURE5_texOff(vec2(0,-1));
res += mat4(-0.067890278995037,0.110054440796375,0.172090962529182,-0.057138383388519,-0.030766816809773,-0.270858317613602,-0.035969026386738,-0.131364658474922,-0.120963968336582,0.196001708507538,0.005631973035634,0.027214741334319,0.025941198691726,-0.192685797810555,0.057571623474360,-0.021673114970326) * FEATURE5_texOff(vec2(0,0));
res += mat4(0.031252823770046,-0.093450583517551,-0.038139101117849,0.067127302289009,0.179566174745560,0.225650176405907,0.130550250411034,-0.021912714466453,0.026567192748189,-0.127454996109009,-0.037841603159904,-0.066015765070915,0.077006444334984,0.024285940453410,-0.037785481661558,0.066444858908653) * FEATURE5_texOff(vec2(0,1));
res += mat4(-0.115651525557041,-0.002676793141291,0.097830802202225,-0.118698202073574,0.061619479209185,0.045670885592699,-0.025536756962538,0.021341798827052,0.064461566507816,-0.012917325831950,0.025306662544608,-0.022931575775146,0.066635519266129,-0.034228671342134,0.021451596170664,0.014395577833056) * FEATURE5_texOff(vec2(1,-1));
res += mat4(0.199841588735580,0.037051677703857,-0.091063551604748,0.090608052909374,-0.127874374389648,-0.104635395109653,0.275657951831818,-0.094500638544559,-0.033651862293482,0.092354990541935,-0.162253707647324,0.051176182925701,0.167670145630836,-0.161247640848160,0.043527111411095,-0.022764706984162) * FEATURE5_texOff(vec2(1,0));
res += mat4(-0.183753937482834,-0.036894302815199,-0.109761178493500,-0.084181934595108,-0.032149519771338,0.012659180909395,0.021349543705583,-0.010680112056434,-0.005638423841447,0.027524940669537,-0.019431216642261,0.054428972303867,0.090578332543373,0.070035651326180,-0.110634393990040,0.071314170956612) * FEATURE5_texOff(vec2(1,1));
res += mat4(-0.082193411886692,0.035509489476681,0.028327932581306,-0.042475759983063,-0.012774475850165,0.049866549670696,0.029375635087490,-0.014738488942385,-0.134513035416603,0.062493003904819,-0.080396205186844,-0.055857103317976,0.169343203306198,-0.009353087283671,-0.024775695055723,0.034372888505459) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(0.007144087459892,0.119148008525372,-0.067069195210934,0.057822335511446,-0.022462444379926,-0.013646497391164,0.111021041870117,-0.008550088852644,-0.092626206576824,0.054363939911127,-0.059173367917538,0.019937844946980,-0.057400982826948,-0.080754004418850,0.064109154045582,-0.032921224832535) * FEATURE6_texOff(vec2(-1,0));
res += mat4(-0.105433620512486,0.124893322587013,-0.033606991171837,-0.196493759751320,-0.014801320619881,-0.003990133758634,0.009568746201694,0.046418953686953,-0.040150389075279,-0.040796097368002,-0.060653772205114,0.009325583465397,0.013329828158021,0.100141987204552,-0.023237628862262,-0.013428580015898) * FEATURE6_texOff(vec2(-1,1));
res += mat4(0.201400801539421,-0.056197248399258,0.047022216022015,0.030491478741169,0.013416696339846,-0.112745024263859,-0.005510171875358,0.141398131847382,0.027410704642534,-0.056237518787384,0.014794825576246,0.059119369834661,-0.156109362840652,0.139763638377190,-0.011184448376298,-0.122607074677944) * FEATURE6_texOff(vec2(0,-1));
res += mat4(-0.014384342357516,-0.015041698701680,-0.002744760131463,-0.006866869051009,0.061473142355680,0.001249367254786,-0.022436905652285,-0.051583658903837,0.113333106040955,-0.057608183473349,0.019209375604987,-0.004062201362103,0.157490372657776,0.042702831327915,-0.060262273997068,0.121878392994404) * FEATURE6_texOff(vec2(0,0));
res += mat4(0.034980975091457,0.205072939395905,-0.038906704634428,-0.043135579675436,-0.050675697624683,0.048848688602448,0.022485679015517,-0.038515824824572,-0.083248674869537,0.019929634407163,0.149665012955666,0.003549638437107,-0.013691185042262,-0.080896645784378,-0.028429893776774,0.013798830099404) * FEATURE6_texOff(vec2(0,1));
res += mat4(0.082952223718166,-0.232784017920494,-0.072170659899712,-0.003751511452720,0.086744725704193,0.000043654312321,-0.068048708140850,0.051256310194731,0.090152151882648,0.071565970778465,-0.008095381781459,-0.000565157271922,-0.134060561656952,-0.095952406525612,0.049008157104254,-0.014587594196200) * FEATURE6_texOff(vec2(1,-1));
res += mat4(-0.015753796324134,-0.194553509354591,-0.011295690201223,0.054101426154375,-0.195532158017159,-0.031511403620243,0.112567715346813,-0.155277147889137,-0.076111674308777,0.005760607309639,0.045341890305281,-0.069411255419254,-0.024329140782356,0.031677350401878,0.005995416082442,0.052128337323666) * FEATURE6_texOff(vec2(1,0));
res += mat4(-0.089954860508442,0.136588901281357,-0.131369411945343,-0.037215750664473,0.051381438970566,0.013305374421179,0.062956757843494,-0.017672549933195,0.035780604928732,-0.050244174897671,-0.044857956469059,0.014691272750497,0.063555166125298,-0.026224711909890,0.041534312069416,-0.022204900160432) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.001302364398725,-0.016980834305286,-0.011994312517345,-0.227662727236748) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL3
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 1_3

vec4 hook()
{
vec4 res = vec4(-0.158031418919563,0.164383023977280,0.024356069043279,-0.303994536399841);
res += mat4(0.029633514583111,0.037336066365242,-0.061481319367886,0.089585721492767,-0.126447543501854,-0.044121313840151,0.007003295235336,-0.015446395613253,-0.024311911314726,-0.117909625172615,-0.035100705921650,0.090028278529644,-0.065697416663170,0.002691281493753,-0.058050129562616,0.037166047841311) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(0.016744229942560,0.249823167920113,0.026208762079477,-0.128773108124733,-0.027602307498455,-0.287462890148163,0.049043774604797,0.060114629566669,0.028167614713311,0.151438489556313,-0.055828511714935,0.065300270915031,-0.058839298784733,0.141913458704948,-0.039428807795048,-0.056315068155527) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.004023179411888,0.029834168031812,0.103458173573017,-0.026566617190838,0.008332548663020,-0.151162251830101,-0.101453632116318,0.015086827799678,-0.083539597690105,0.039723053574562,-0.019462121650577,-0.113094501197338,-0.142061322927475,-0.094503566622734,0.042535796761513,-0.096415996551514) * FEATURE1_texOff(vec2(-1,1));
res += mat4(-0.126114249229431,-0.025327337905765,0.003048113314435,-0.033061608672142,0.044660843908787,-0.031720761209726,0.077999494969845,-0.111662179231644,-0.019191781058908,0.006997935008258,0.057276748120785,-0.029087144881487,-0.015374365262687,0.013165033422410,0.015349564142525,0.036113105714321) * FEATURE1_texOff(vec2(0,-1));
res += mat4(0.027873508632183,-0.120875701308250,0.035312626510859,0.113929390907288,0.044521100819111,0.049767374992371,0.041301649063826,0.022735232487321,0.050302285701036,-0.030684152618051,0.039536200463772,-0.002710168017074,-0.010666663758457,-0.224886283278465,-0.072775587439537,0.121306896209717) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.016765026375651,-0.045208673924208,-0.049329243600368,0.107352755963802,0.015936911106110,0.117496214807034,-0.132746204733849,-0.034719143062830,0.077554814517498,-0.021124416962266,-0.010718321427703,0.165087401866913,0.036423906683922,-0.038899514824152,0.095443494617939,0.186992794275284) * FEATURE1_texOff(vec2(0,1));
res += mat4(0.182829290628433,-0.019126772880554,-0.017274675890803,0.054771974682808,-0.123484209179878,0.108432337641716,0.004225731361657,-0.040834520012140,0.034541435539722,0.070496112108231,0.062622196972370,0.107893526554108,0.012878649868071,0.038577608764172,-0.053541842848063,-0.048701148480177) * FEATURE1_texOff(vec2(1,-1));
res += mat4(0.047001734375954,-0.134891390800476,-0.031790997833014,-0.129061609506607,0.074177846312523,0.082624897360802,-0.002540447050706,-0.001062726485543,0.068540185689926,0.012215968221426,0.081101059913635,-0.108963862061501,0.087062560021877,0.003862773766741,-0.016621869057417,-0.031077954918146) * FEATURE1_texOff(vec2(1,0));
res += mat4(-0.055569928139448,-0.074341095983982,-0.000577609112952,-0.002159269992262,0.006510790437460,0.126056984066963,-0.121566690504551,0.011818428523839,-0.031547844409943,-0.013958623632789,0.004236374516040,-0.027745459228754,-0.004930796101689,0.025229306891561,0.042547482997179,-0.038993332535028) * FEATURE1_texOff(vec2(1,1));
res += mat4(-0.088134765625000,0.060365524142981,0.150771543383598,0.032568126916885,-0.101352564990520,-0.003411488374695,0.200605601072311,0.072966620326042,-0.073809854686260,-0.003316702554002,0.021283186972141,0.065954990684986,0.125156074762344,0.011072066612542,0.056213058531284,-0.088062964379787) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(-0.090550869703293,-0.000119738251669,0.029710412025452,-0.053479772061110,-0.086553454399109,0.095123149454594,0.026341451331973,0.061494760215282,-0.021854918450117,-0.039738696068525,-0.061270646750927,0.098073594272137,0.122988291084766,0.067354768514633,0.205852389335632,0.028051691129804) * FEATURE2_texOff(vec2(-1,0));
res += mat4(-0.035588625818491,-0.052932899445295,-0.087564326822758,-0.018728800117970,-0.180643588304520,-0.004547149874270,0.039123062044382,-0.103888250887394,-0.080684058368206,0.006332503631711,-0.054177474230528,-0.078403152525425,0.115409821271896,-0.096189484000206,0.111769326031208,0.121275760233402) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.003008492290974,0.023430531844497,0.090995363891125,-0.029209349304438,-0.043997149914503,0.154869303107262,-0.115837864577770,-0.027576938271523,-0.023523828014731,-0.068450629711151,0.015930747613311,-0.009159299544990,-0.102624379098415,0.037343345582485,0.052112530916929,0.018223255872726) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.056706130504608,-0.093142658472061,-0.009600461460650,0.074766784906387,-0.063893705606461,0.005152883473784,-0.021770380437374,-0.037884872406721,0.079943090677261,0.049151215702295,-0.023047996684909,-0.032943099737167,0.110812515020370,0.141097277402878,0.017627697438002,-0.022575872018933) * FEATURE2_texOff(vec2(0,0));
res += mat4(-0.005766620859504,0.093784905970097,-0.077226407825947,-0.021638009697199,0.105375751852989,-0.077957935631275,0.052960027009249,0.119080290198326,0.001610596897081,0.088464051485062,0.055211942642927,0.071841128170490,-0.164456441998482,-0.125641494989395,-0.148969665169716,-0.218080595135689) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.114220522344112,0.019945435225964,0.007689000107348,-0.028242943808436,0.043680407106876,-0.039982255548239,-0.022629935294390,0.068750955164433,0.041467048227787,0.050132725387812,-0.071568131446838,0.074866987764835,-0.152872890233994,0.019212393090129,0.126394614577293,0.081124164164066) * FEATURE2_texOff(vec2(1,-1));
res += mat4(-0.106745794415474,-0.021925304085016,0.041324809193611,-0.054961595684290,0.034534875303507,-0.111173368990421,0.076782613992691,-0.012444173917174,-0.072365745902061,-0.029077149927616,0.066245071589947,-0.065926358103752,0.012705914676189,-0.072153531014919,-0.061810292303562,0.094205074012280) * FEATURE2_texOff(vec2(1,0));
res += mat4(-0.021110074594617,-0.044930595904589,0.026330390945077,0.010319516062737,-0.122010968625546,0.006009635049850,0.025964187458158,-0.078528188169003,0.039202857762575,-0.017431270331144,0.046840365976095,0.039351183921099,-0.174788102507591,0.032086022198200,-0.062013335525990,0.219363570213318) * FEATURE2_texOff(vec2(1,1));
res += mat4(-0.018387610092759,0.014482258819044,0.069803379476070,0.029156841337681,0.105793304741383,-0.090167120099068,0.093778349459171,-0.048231337219477,0.009358119219542,-0.196406543254852,-0.250500142574310,-0.005522557534277,-0.013074723072350,0.059466149657965,-0.063150189816952,0.035039313137531) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.016618937253952,0.182307139039040,0.042750962078571,-0.042773064225912,0.083701059222221,-0.064664758741856,-0.057274814695120,0.091436624526978,0.105853043496609,-0.261677950620651,0.031186979264021,0.159021988511086,0.028307965025306,0.160985052585602,-0.075591363012791,-0.203705668449402) * FEATURE3_texOff(vec2(-1,0));
res += mat4(-0.094126649200916,-0.086984515190125,-0.123234368860722,-0.171875596046448,-0.084077745676041,0.078628145158291,0.073620788753033,-0.041768945753574,0.201585605740547,-0.210915237665176,0.038695640861988,0.215602934360504,0.071114122867584,-0.081334218382835,-0.129255592823029,0.044922597706318) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.005334745626897,0.037276964634657,0.144321471452713,-0.037903178483248,-0.162856757640839,0.010278243571520,-0.065317921340466,-0.106581397354603,0.141993075609207,0.045409269630909,0.097077101469040,-0.016388351097703,0.053747404366732,-0.000634779687971,0.064045824110508,0.033689778298140) * FEATURE3_texOff(vec2(0,-1));
res += mat4(-0.017035482451320,-0.109407395124435,0.013809100724757,0.100114993751049,-0.078942470252514,0.095418669283390,-0.049186330288649,-0.125059276819229,-0.022847753018141,0.261570841073990,0.010865574702621,-0.042816501110792,0.031719516962767,-0.091090857982635,-0.030404362827539,0.061287183314562) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.053030684590340,0.065464168787003,-0.019469652324915,0.136972546577454,-0.093094326555729,-0.011689803563058,0.021078811958432,-0.021530348807573,-0.118321903049946,0.243280738592148,0.010448005050421,-0.180642917752266,0.049099490046501,0.010128035210073,-0.085306838154793,0.059665359556675) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.077181465923786,-0.052450787276030,-0.046138312667608,0.045367248356342,-0.091763749718666,-0.031264372169971,0.060825690627098,-0.016085498034954,-0.212986037135124,0.069649390876293,-0.049992784857750,0.080204933881760,0.055945053696632,-0.007744444534183,-0.059119950979948,0.002722978126258) * FEATURE3_texOff(vec2(1,-1));
res += mat4(0.040532838553190,-0.064519099891186,0.040712933987379,-0.110998749732971,0.223766699433327,0.097780704498291,0.001777890603989,0.019935626536608,-0.039494615048170,-0.022201828658581,0.102882355451584,0.263741612434387,-0.209611684083939,-0.038558073341846,-0.014529747888446,-0.056783296167850) * FEATURE3_texOff(vec2(1,0));
res += mat4(0.029939835891128,0.005551786161959,-0.075466796755791,-0.047427412122488,-0.007905200123787,-0.095849193632603,0.007598564494401,-0.033232294023037,0.147850781679153,0.031609538942575,0.008762815035880,0.204954370856285,0.034527454525232,0.004324859473854,-0.002675056457520,0.133866131305695) * FEATURE3_texOff(vec2(1,1));
res += mat4(0.024077322334051,-0.043029148131609,-0.121409311890602,-0.070450581610203,-0.043178945779800,-0.070569783449173,-0.128255024552345,-0.025955297052860,0.006791071034968,0.067892521619797,0.117946602404118,-0.007466432172805,0.003625888144597,-0.021573806181550,-0.056673035025597,-0.116622768342495) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(0.080260574817657,0.019049922004342,-0.002962450031191,0.018491473048925,0.032163251191378,-0.073078550398350,-0.016635293141007,-0.085323177278042,0.011630140244961,0.189560577273369,-0.065612435340881,0.028938803821802,-0.010818794369698,0.077541738748550,-0.017843218520284,0.005017930641770) * FEATURE4_texOff(vec2(-1,0));
res += mat4(0.043559044599533,0.001647935016081,0.147364690899849,-0.017235007137060,0.037426900118589,-0.117898650467396,0.168320611119270,0.030477628111839,-0.021295100450516,-0.019941790029407,-0.039726935327053,0.001140255713835,-0.088053621351719,-0.040784057229757,0.086960531771183,0.022837437689304) * FEATURE4_texOff(vec2(-1,1));
res += mat4(0.089865848422050,0.024832209572196,-0.015676867216825,0.053532272577286,-0.019926240667701,0.003502520732582,-0.072781309485435,0.007425955496728,-0.018735084682703,0.043592702597380,-0.017661279067397,0.043490909039974,0.048773303627968,-0.072944149374962,-0.083441905677319,0.026418177410960) * FEATURE4_texOff(vec2(0,-1));
res += mat4(0.039971671998501,0.063419945538044,-0.026840573176742,0.002388245658949,-0.089946381747723,0.061218705028296,0.010928516276181,-0.009760167449713,-0.035378120839596,-0.216527730226517,0.004369329195470,0.001068947487511,0.044385094195604,0.084111422300339,0.052102405577898,-0.026356548070908) * FEATURE4_texOff(vec2(0,0));
res += mat4(0.010595324449241,-0.039783302694559,0.055656526237726,-0.015065551735461,-0.070410706102848,0.066810429096222,0.047346431761980,-0.038711123168468,0.012333190068603,0.014011299237609,-0.013507483527064,0.161480873823166,-0.004523487295955,-0.008373538963497,0.029525572434068,0.048618841916323) * FEATURE4_texOff(vec2(0,1));
res += mat4(-0.024565812200308,-0.003633846063167,0.019118765369058,0.015672892332077,0.079092524945736,0.050758015364408,0.059938039630651,0.036865971982479,0.051763147115707,-0.043197967112064,0.009277503006160,0.003455186029896,0.005518036894500,-0.005976577755064,0.028123397380114,0.042321864515543) * FEATURE4_texOff(vec2(1,-1));
res += mat4(-0.062401659786701,0.003245473140851,-0.021560575813055,0.057955577969551,0.057944525033236,-0.031934436410666,-0.001236508367583,0.016425687819719,0.039389081299305,-0.050700839608908,-0.011844757013023,-0.072124667465687,-0.030435377731919,0.067140936851501,-0.038867767900229,0.066889658570290) * FEATURE4_texOff(vec2(1,0));
res += mat4(-0.066697716712952,-0.025678677484393,-0.002894142875448,0.059590511023998,0.011507617309690,-0.007676006294787,-0.009787864051759,0.053204201161861,0.030785387381911,-0.022437639534473,0.026023741811514,-0.079005196690559,-0.155872121453285,-0.019466822966933,-0.000447344908025,0.048014495521784) * FEATURE4_texOff(vec2(1,1));
res += mat4(-0.000108389598608,-0.010966112837195,0.209991440176964,0.021021468564868,-0.000768291880377,-0.172336220741272,0.098159410059452,0.191514715552330,0.044996682554483,0.138164073228836,0.120700709521770,-0.092148080468178,-0.057110350579023,0.146486386656761,-0.035561442375183,0.063113808631897) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(-0.092528067529202,0.057683892548084,0.064726077020168,-0.066649943590164,0.138620629906654,0.282639205455780,-0.082046814262867,-0.010302701033652,-0.136494383215904,-0.172536969184875,0.162727519869804,-0.014367862604558,-0.112686470150948,0.002088529057801,-0.124081142246723,-0.113119520246983) * FEATURE5_texOff(vec2(-1,0));
res += mat4(-0.078824721276760,0.028354877606034,0.021411437541246,-0.023876952007413,-0.168136835098267,0.140204921364784,0.038809128105640,-0.049770496785641,0.049833647906780,-0.130249843001366,-0.196956470608711,0.153815492987633,-0.007235811557621,0.114350609481335,-0.005979256704450,-0.001174453296699) * FEATURE5_texOff(vec2(-1,1));
res += mat4(-0.021416803821921,0.110015429556370,-0.001421230961569,-0.070336453616619,-0.111742146313190,0.115896508097649,-0.154308915138245,0.030264025554061,-0.011908713728189,0.022467967122793,0.019142506644130,0.006301600020379,0.028633503243327,-0.148402109742165,0.018387123942375,0.027136847376823) * FEATURE5_texOff(vec2(0,-1));
res += mat4(-0.029244370758533,-0.254704654216766,0.023942768573761,0.093896403908730,-0.143556430935860,-0.164520606398582,0.058916941285133,-0.175376325845718,-0.013698046095669,0.051413100212812,-0.002732877153903,0.010060865432024,0.015778416767716,-0.207453861832619,-0.112548097968102,0.074612081050873) * FEATURE5_texOff(vec2(0,0));
res += mat4(0.068548388779163,0.021527528762817,-0.162709653377533,-0.013698934577405,-0.040994688868523,-0.139574334025383,0.175031974911690,0.342021375894547,0.033178865909576,-0.013674307614565,-0.246212020516396,-0.207768812775612,0.108050517737865,0.044976409524679,0.169664934277534,0.024433873593807) * FEATURE5_texOff(vec2(0,1));
res += mat4(0.066144824028015,-0.045867573469877,0.059486225247383,0.064611129462719,0.011711586266756,-0.006455678958446,-0.058831270784140,0.077050089836121,0.056571573019028,-0.028603877872229,0.070848092436790,-0.001666019088589,-0.024861171841621,0.126338139176369,-0.005788664333522,-0.134664937853813) * FEATURE5_texOff(vec2(1,-1));
res += mat4(-0.083435870707035,0.038396157324314,-0.063926182687283,-0.058671753853559,0.123055405914783,-0.020640756934881,0.093566358089447,-0.101862646639347,-0.014963367953897,-0.008675375021994,-0.007800512015820,0.134515449404716,-0.108267575502396,-0.009547639638186,0.046598453074694,-0.158520147204399) * FEATURE5_texOff(vec2(1,0));
res += mat4(-0.154447555541992,-0.080690354108810,-0.049732312560081,-0.110147088766098,0.220393419265747,-0.035068504512310,0.074274852871895,-0.100194402039051,-0.008875160478055,0.116963461041451,-0.073077954351902,0.121565915644169,0.007547560147941,0.015399650670588,0.183258280158043,-0.065474964678288) * FEATURE5_texOff(vec2(1,1));
res += mat4(0.091781303286552,0.143048897385597,-0.116021044552326,0.013585244305432,0.096929751336575,-0.031145930290222,-0.103802524507046,-0.047674048691988,0.010328632779419,-0.005434507969767,0.022052135318518,0.068696640431881,0.019448703154922,0.014063394628465,0.083426788449287,-0.012156494893134) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(0.109554983675480,0.251204133033752,-0.240805387496948,-0.055143967270851,0.074534945189953,0.058051072061062,0.130837082862854,0.020271882414818,0.004471788182855,0.107518419623375,0.011557748541236,0.009695462882519,-0.098932720720768,-0.200917243957520,-0.018702713772655,0.077854856848717) * FEATURE6_texOff(vec2(-1,0));
res += mat4(0.043995276093483,0.142630860209465,0.000413970730733,-0.081547319889069,0.013126571662724,0.064815424382687,0.126407966017723,0.046668622642756,-0.046728055924177,0.045450266450644,0.004655224271119,-0.083744876086712,-0.021863128989935,-0.003242003032938,-0.108066506683826,0.072989568114281) * FEATURE6_texOff(vec2(-1,1));
res += mat4(-0.016628665849566,-0.167377099394798,-0.035773221403360,-0.006002420559525,0.035921350121498,0.030937291681767,-0.019203379750252,-0.012439911253750,-0.047648768872023,-0.053870137780905,-0.039834693074226,0.068526990711689,0.070282593369484,-0.051287751644850,-0.046403180807829,0.056142307817936) * FEATURE6_texOff(vec2(0,-1));
res += mat4(-0.054417524486780,0.121200248599052,-0.137857720255852,-0.059436354786158,-0.032666772603989,0.066084370017052,-0.034546993672848,-0.094078741967678,-0.038497131317854,0.056919727474451,0.004823442548513,0.043167963624001,0.036485530436039,-0.012746944092214,-0.015996059402823,-0.050696909427643) * FEATURE6_texOff(vec2(0,0));
res += mat4(0.015484845265746,-0.166967317461967,0.082881361246109,-0.038315430283546,-0.059373170137405,-0.012083009816706,-0.070336557924747,-0.072973199188709,0.057442545890808,-0.136684194207191,0.060697231441736,0.090448707342148,0.079810418188572,0.101155035197735,0.093820996582508,-0.045805621892214) * FEATURE6_texOff(vec2(0,1));
res += mat4(-0.095994167029858,-0.135730698704720,0.071982920169830,0.086916916072369,-0.095543421804905,-0.029078617691994,0.070835418999195,-0.046945169568062,0.002920298604295,-0.030350290238857,0.013016997836530,-0.019969394430518,-0.078005388379097,0.027290955185890,0.031292770057917,-0.013710390776396) * FEATURE6_texOff(vec2(1,-1));
res += mat4(0.127762004733086,-0.226947471499443,0.000965367536992,0.001050591701642,-0.061704769730568,-0.174933820962906,0.005757949780673,-0.005453360732645,0.084288969635963,-0.074958942830563,0.040088921785355,-0.021795092150569,-0.016196310520172,0.102033257484436,0.036818835884333,0.111302673816681) * FEATURE6_texOff(vec2(1,0));
res += mat4(-0.066808536648750,-0.187654390931129,0.115071438252926,0.130729138851166,0.059656284749508,0.023384518921375,-0.083186522126198,0.040658701211214,0.121643096208572,-0.056372065097094,-0.021064661443233,-0.005073524545878,0.022484691813588,0.090863637626171,0.094155825674534,0.025363478809595) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.054393935948610,0.198095217347145,0.167687207460403,-0.010622884146869) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL4
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 1_4

vec4 hook()
{
vec4 res = vec4(0.135241910815239,0.194594383239746,-0.014534142799675,0.101039662957191);
res += mat4(0.121325165033340,0.117795102298260,0.112229429185390,-0.009813797660172,0.041922252625227,-0.104447633028030,-0.306724488735199,-0.071254290640354,-0.054623477160931,0.037270154803991,-0.033454582095146,0.076615087687969,-0.123838238418102,-0.179393455386162,-0.283670186996460,-0.033685427159071) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.182986244559288,-0.008023138158023,-0.041167024523020,-0.051640361547470,-0.050469286739826,-0.021441100165248,-0.034037895500660,-0.091884627938271,0.164753749966621,-0.000530842458829,0.000680041150190,-0.076860219240189,-0.058363422751427,-0.005637653172016,0.034607820212841,-0.001804968225770) * FEATURE1_texOff(vec2(-1,0));
res += mat4(0.103114739060402,0.053065270185471,0.098318167030811,-0.098053328692913,-0.081830725073814,0.021177433431149,-0.066063523292542,0.051959577947855,-0.189347639679909,-0.120859660208225,0.077971629798412,0.009999602101743,-0.043051436543465,0.083947718143463,0.062059953808784,0.062549270689487) * FEATURE1_texOff(vec2(-1,1));
res += mat4(-0.111112125217915,-0.105635516345501,0.141090944409370,0.068047061562538,-0.001365558593534,0.072559975087643,-0.048863071948290,0.044874139130116,0.117337487637997,0.021667875349522,-0.047537676990032,0.014916040934622,0.050333987921476,-0.192544832825661,0.108533859252930,-0.020027691498399) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.070151515305042,-0.146989330649376,0.290877372026443,-0.062410973012447,-0.060991797596216,0.047661472111940,0.098915062844753,0.050477929413319,-0.155038818717003,-0.101543925702572,0.112670578062534,0.036886051297188,-0.197357520461082,-0.051542039960623,0.346848458051682,-0.051552150398493) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.082803979516029,-0.016281936317682,0.051958721131086,-0.023298151791096,-0.050501897931099,0.066197305917740,0.049746073782444,0.007395780179650,0.087526984512806,0.133906736969948,-0.054180458188057,0.004919785074890,0.208852469921112,0.070053361356258,0.115453355014324,-0.190716460347176) * FEATURE1_texOff(vec2(0,1));
res += mat4(0.092864185571671,0.125010877847672,0.060300309211016,-0.026564065366983,0.021695101633668,0.041245978325605,-0.046522144228220,-0.045108482241631,-0.066305212676525,0.000343607476680,-0.040092803537846,-0.036388501524925,-0.063330762088299,0.020660117268562,-0.028866926208138,0.045213319361210) * FEATURE1_texOff(vec2(1,-1));
res += mat4(0.018492681905627,0.025390798225999,0.070332065224648,0.071998201310635,-0.061473194509745,-0.047387134283781,-0.041689932346344,0.079205289483070,0.109442859888077,-0.019113415852189,0.049700740724802,0.150438636541367,0.153888717293739,0.100061886012554,-0.060242258012295,0.232771694660187) * FEATURE1_texOff(vec2(1,0));
res += mat4(0.108479671180248,-0.054033696651459,0.083111457526684,-0.097921259701252,0.053107228130102,-0.026998069137335,-0.042518571019173,-0.000086199943325,-0.038664422929287,-0.008654865436256,0.029128897935152,0.012986898422241,-0.195219159126282,0.164707511663437,0.139715030789375,0.065096609294415) * FEATURE1_texOff(vec2(1,1));
res += mat4(-0.000522814341821,-0.034362148493528,-0.038385786116123,0.011986955069005,-0.032744083553553,0.099927209317684,0.016875451430678,0.005016017705202,-0.118312545120716,-0.065289512276649,-0.047576092183590,0.030094556510448,0.009881546720862,0.028126288205385,0.060191024094820,-0.014529901556671) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(0.008432646282017,-0.044481400400400,-0.010060655884445,-0.046924415975809,0.147292822599411,0.040631338953972,-0.105830088257790,0.004567839205265,0.040089976042509,0.009911861270666,-0.092508442699909,-0.018033863976598,0.029607778415084,0.005006288643926,-0.004328867420554,0.031645938754082) * FEATURE2_texOff(vec2(-1,0));
res += mat4(-0.036736685782671,0.008992559276521,-0.010499259456992,0.018130900338292,-0.035463321954012,-0.113680243492126,-0.073813736438751,-0.034217357635498,-0.099495261907578,0.056683842092752,-0.024941392242908,0.012715985998511,0.127273455262184,-0.070582434535027,-0.111894041299820,-0.028119310736656) * FEATURE2_texOff(vec2(-1,1));
res += mat4(-0.067373767495155,-0.042983140796423,0.059333074837923,0.029355067759752,0.202814906835556,-0.104870803654194,0.028267543762922,-0.019671486690640,0.187040805816650,0.050191134214401,-0.027219841256738,-0.027068762108684,0.001077546505257,0.013331382535398,-0.036186471581459,0.018884697929025) * FEATURE2_texOff(vec2(0,-1));
res += mat4(0.050261717289686,0.009903299622238,0.063671559095383,-0.080147050321102,-0.190491259098053,-0.120355144143105,0.150425806641579,-0.046149380505085,-0.135383144021034,-0.116460397839546,0.027997152879834,0.021934311836958,0.166376248002052,0.027319051325321,-0.205473557114601,0.001617712085135) * FEATURE2_texOff(vec2(0,0));
res += mat4(-0.063906393945217,0.004455739632249,-0.038667511194944,-0.030589185655117,0.250918269157410,0.024717878550291,-0.014160508289933,-0.044859752058983,0.160435229539871,0.034356731921434,-0.002866283757612,-0.066870845854282,-0.244475707411766,-0.064983136951923,0.014807624742389,0.105365984141827) * FEATURE2_texOff(vec2(0,1));
res += mat4(0.145143657922745,0.080798350274563,-0.055492240935564,-0.113375268876553,-0.071326471865177,0.011864312924445,-0.030474115163088,-0.053979586809874,-0.167070999741554,0.087491400539875,0.021252658218145,-0.018280450254679,0.095434583723545,-0.057560428977013,-0.059230789542198,0.040813773870468) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.024058789014816,0.053186453878880,-0.112718686461449,0.060196284204721,0.039703294634819,0.056679151952267,-0.056673813611269,0.071622632443905,0.107318781316280,-0.014819895848632,0.128330498933792,0.081538252532482,-0.271426051855087,-0.130192726850510,0.242386996746063,0.000882276974153) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.129562795162201,-0.087521761655807,0.000129370208015,-0.019953424111009,-0.152955010533333,0.053568702191114,0.046444058418274,-0.057388283312321,-0.035537842661142,-0.027701936662197,0.002917907666415,-0.031235752627254,0.139707729220390,0.178576350212097,-0.068648591637611,-0.090457595884800) * FEATURE2_texOff(vec2(1,1));
res += mat4(-0.125196233391762,-0.026241954416037,-0.074702352285385,-0.084061361849308,-0.087788105010986,-0.102768108248711,-0.207888305187225,0.140800699591637,-0.020811827853322,-0.057864669710398,-0.172978788614273,0.016027564182878,-0.009675284847617,0.025948964059353,-0.003605014877394,0.030047055333853) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.072552926838398,0.051445208489895,-0.052571110427380,-0.003325328463688,0.046612985432148,0.018674144521356,-0.016644708812237,-0.054104380309582,-0.098233491182327,0.003761684056371,-0.019281771034002,0.056673999875784,-0.055158268660307,-0.158748924732208,0.157687634229660,-0.044857811182737) * FEATURE3_texOff(vec2(-1,0));
res += mat4(-0.074881687760353,-0.060459233820438,-0.041228007525206,0.064874269068241,-0.017527932301164,0.108043789863586,0.068976365029812,-0.020215963944793,0.072382651269436,-0.072890587151051,-0.048743393272161,0.085551276803017,0.088543280959129,0.126668363809586,0.149297222495079,0.043448537588120) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.189045026898384,-0.028149537742138,-0.073315940797329,0.086353145539761,0.070256270468235,0.044642288237810,-0.144956022500992,-0.001751350122504,0.104940436780453,0.032346773892641,-0.113221786916256,0.012216603383422,-0.168555542826653,-0.111870303750038,0.012497469782829,0.003906675148755) * FEATURE3_texOff(vec2(0,-1));
res += mat4(-0.372305572032928,-0.139766186475754,0.269930362701416,-0.079821638762951,-0.063560687005520,-0.014456829987466,-0.197227537631989,-0.031500644981861,0.122554630041122,0.274658411741257,-0.373402297496796,0.053655292838812,0.133548125624657,-0.080791406333447,0.263189733028412,-0.037636511027813) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.266453146934509,0.081960588693619,-0.013982519507408,0.007202570326626,-0.076968953013420,-0.044031612575054,-0.017733013257384,-0.050892420113087,-0.251906096935272,0.174530789256096,-0.095537528395653,0.078891336917877,-0.040839530527592,0.146679535508156,-0.016093676909804,0.060071107000113) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.084522761404514,-0.017206534743309,0.024605026468635,-0.177048563957214,0.059056676924229,0.016169935464859,0.034011498093605,-0.073009848594666,-0.107836529612541,-0.069727651774883,0.040763780474663,0.018539071083069,0.026634609326720,-0.006684306077659,-0.020180923864245,0.010334624908864) * FEATURE3_texOff(vec2(1,-1));
res += mat4(0.247072771191597,0.133194163441658,-0.032894745469093,0.166305333375931,-0.102339722216129,-0.014101720415056,0.044847022742033,0.057291287928820,-0.036113109439611,0.028785998001695,-0.071480475366116,-0.114785291254520,-0.020562455058098,0.038480207324028,0.095270022749901,0.120900809764862) * FEATURE3_texOff(vec2(1,0));
res += mat4(-0.168955564498901,-0.001383038004860,0.001115178223699,-0.039838757365942,0.095568113029003,-0.097159869968891,0.032251100987196,0.003763248678297,0.252026677131653,-0.096095219254494,-0.056033011525869,-0.092254854738712,-0.033387169241905,-0.020660381764174,0.084811754524708,-0.033089742064476) * FEATURE3_texOff(vec2(1,1));
res += mat4(0.007606169674546,0.004758834838867,-0.078131526708603,-0.005245808511972,0.058490384370089,-0.043288152664900,-0.092513777315617,0.023348234593868,0.036936122924089,0.032059509307146,0.201195105910301,0.057138103991747,0.130121052265167,0.064730338752270,0.125304192304611,-0.010823417454958) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(0.081520400941372,0.022083545103669,0.016603155061603,-0.036847013980150,-0.003742117201909,-0.104049727320671,-0.002371612703428,0.165046036243439,0.026726773008704,-0.001298089278862,-0.126364916563034,-0.032335460186005,0.012797240167856,-0.034547105431557,-0.032508466392756,-0.015833107754588) * FEATURE4_texOff(vec2(-1,0));
res += mat4(-0.060067143291235,0.009184739552438,0.034323010593653,0.044558588415384,0.090263992547989,-0.132671579718590,-0.093357533216476,-0.167520359158516,-0.020022632554173,-0.059113573282957,0.018151618540287,0.081376358866692,0.069772429764271,0.084000907838345,0.023828810080886,0.010641100816429) * FEATURE4_texOff(vec2(-1,1));
res += mat4(-0.034267157316208,-0.021151110529900,-0.048789661377668,-0.017794813960791,0.047040879726410,-0.066337786614895,0.168792441487312,0.010019244626164,0.079160191118717,0.012460411526263,0.168467298150063,0.040056075900793,-0.117720723152161,-0.044860024005175,-0.033393964171410,-0.030479826033115) * FEATURE4_texOff(vec2(0,-1));
res += mat4(0.011071950197220,-0.013477696105838,-0.015523629263043,-0.029523864388466,-0.015989607200027,0.034712743014097,0.069916136562824,-0.010342797264457,-0.075704336166382,-0.083549693226814,0.179753571748734,0.089963212609291,-0.033023264259100,0.047055441886187,0.010085190646350,-0.003671481274068) * FEATURE4_texOff(vec2(0,0));
res += mat4(0.068252675235271,-0.002838585060090,0.001163445180282,-0.084760703146458,0.007285329978913,0.019756454974413,-0.021201247349381,0.059053458273411,0.067518435418606,-0.063246622681618,-0.018481750041246,-0.069248728454113,0.024912739172578,0.019631044939160,-0.021526345983148,-0.119415983557701) * FEATURE4_texOff(vec2(0,1));
res += mat4(-0.025893680751324,-0.037327755242586,-0.063679069280624,0.041278723627329,-0.054689250886440,0.045693881809711,-0.015476323664188,-0.020262759178877,0.007669724058360,0.038630783557892,0.145547628402710,-0.002541030524299,-0.025764675810933,-0.011009947396815,0.058593023568392,0.140730097889900) * FEATURE4_texOff(vec2(1,-1));
res += mat4(-0.006426756735891,0.005271357949823,-0.010201989673078,0.011662849225104,0.101723007857800,0.077543914318085,-0.008788935840130,-0.005290211644024,0.080686010420322,0.127902001142502,-0.218408852815628,0.034507680684328,-0.058053329586983,-0.099421836435795,0.056608129292727,-0.009867220185697) * FEATURE4_texOff(vec2(1,0));
res += mat4(-0.063806116580963,0.091956518590450,0.066004790365696,0.068817518651485,-0.247838258743286,0.154480576515198,0.145293503999710,-0.016856817528605,-0.083185389637947,-0.047434851527214,0.082777336239815,0.049289844930172,-0.045614909380674,-0.080233402550220,-0.049818813800812,0.022681355476379) * FEATURE4_texOff(vec2(1,1));
res += mat4(-0.033132392913103,0.158328711986542,0.124337106943130,-0.128653168678284,-0.037144772708416,0.012013752944767,0.043710641562939,0.100924357771873,0.187967747449875,-0.011479819193482,0.123957209289074,0.037157300859690,-0.013811608776450,-0.055817011743784,0.135109528899193,0.006131883244962) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(-0.020109837874770,0.095417030155659,-0.065739259123802,-0.080691918730736,0.091673977673054,-0.120115362107754,0.105515815317631,-0.125319182872772,-0.129085063934326,-0.062564343214035,0.067776001989841,0.107739306986332,-0.125131726264954,-0.149129882454872,0.011044247075915,0.007661710493267) * FEATURE5_texOff(vec2(-1,0));
res += mat4(-0.060358382761478,-0.064309611916542,-0.035108730196953,-0.146326929330826,-0.077237769961357,0.056968633085489,0.065738074481487,-0.060577817261219,-0.005605141166598,-0.070995867252350,-0.125648960471153,-0.085229128599167,0.052289471030235,-0.008868544362485,0.119782045483589,-0.071209430694580) * FEATURE5_texOff(vec2(-1,1));
res += mat4(-0.096805348992348,0.015025377273560,-0.000944201019593,0.135241642594337,0.162764519453049,0.090303845703602,0.011415126733482,0.109617374837399,-0.093599691987038,-0.019107399508357,0.131188616156578,-0.026761945337057,-0.056814357638359,-0.127980440855026,0.094740264117718,0.038467757403851) * FEATURE5_texOff(vec2(0,-1));
res += mat4(0.083078704774380,0.017061334103346,0.090629108250141,-0.040431153029203,-0.359174311161041,-0.322723090648651,0.525518059730530,0.064908333122730,0.071377433836460,0.146648272871971,-0.226487532258034,0.047076817601919,-0.036399692296982,0.143443480134010,-0.127110689878464,0.009043088182807) * FEATURE5_texOff(vec2(0,0));
res += mat4(-0.087418496608734,0.011287970468402,-0.071225076913834,0.077911294996738,0.264914453029633,0.036128390580416,0.042116928845644,-0.079899720847607,-0.112374842166901,-0.063299804925919,-0.012933597899973,0.106841407716274,0.138693392276764,-0.064176946878433,-0.012328281998634,-0.100699901580811) * FEATURE5_texOff(vec2(0,1));
res += mat4(-0.052433326840401,-0.027431499212980,0.023037282750010,-0.024814559146762,-0.058630365878344,0.023658210411668,0.169232934713364,-0.133455649018288,0.135253176093102,0.004865399561822,-0.020267331972718,0.040027122944593,0.135214373469353,0.039521470665932,-0.045101754367352,0.029263705015182) * FEATURE5_texOff(vec2(1,-1));
res += mat4(-0.002556697931141,0.153169319033623,-0.207308128476143,-0.023856278508902,0.354536294937134,-0.112064048647881,0.290477931499481,0.138533920049667,-0.128352150321007,-0.006152238231152,0.056443717330694,-0.082940459251404,-0.100802011787891,-0.010083755478263,-0.231495812535286,0.175425276160240) * FEATURE5_texOff(vec2(1,0));
res += mat4(-0.064931206405163,-0.143914461135864,0.002461813623086,-0.060494128614664,-0.116644307971001,0.100141629576683,-0.016486326232553,0.012519290670753,-0.102657422423363,0.084729626774788,0.024512859061360,-0.124741964042187,0.030127869918942,-0.042117316275835,-0.033243943005800,0.087868526577950) * FEATURE5_texOff(vec2(1,1));
res += mat4(-0.211233645677567,-0.245388075709343,-0.150446876883507,-0.044170245528221,0.094391651451588,-0.020606445148587,0.075531378388405,0.023974981158972,-0.106829196214676,0.165449216961861,-0.046752661466599,-0.055938862264156,-0.021597128361464,-0.057574607431889,-0.103273861110210,0.071942001581192) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(0.115800105035305,0.002876067068428,-0.192244663834572,-0.049076396971941,0.052004650235176,-0.055268734693527,-0.052226006984711,0.033447165042162,0.021231718361378,0.136517837643623,-0.004762347321957,-0.003766058245674,-0.026094296947122,-0.026240911334753,0.015200567431748,-0.040772791951895) * FEATURE6_texOff(vec2(-1,0));
res += mat4(0.011348399333656,-0.001178092090413,0.073783561587334,-0.031103262677789,0.077035047113895,0.026457419618964,-0.017247656360269,-0.011698779650033,-0.085783109068871,0.064649313688278,0.047771599143744,0.007032535038888,0.002595722209662,0.012944237329066,-0.090429760515690,-0.063420213758945) * FEATURE6_texOff(vec2(-1,1));
res += mat4(-0.147156089544296,-0.206145778298378,-0.256010293960571,-0.064793944358826,-0.063212551176548,0.100379817187786,-0.011520703323185,0.035103980451822,-0.007195049896836,-0.053714666515589,-0.113553859293461,0.082398645579815,-0.028715191408992,-0.031479276716709,0.073229275643826,-0.066043540835381) * FEATURE6_texOff(vec2(0,-1));
res += mat4(-0.254655390977859,-0.180848956108093,-0.267900586128235,-0.248244255781174,-0.033670771867037,-0.017937362194061,-0.054506313055754,-0.087814390659332,-0.123592041432858,-0.005043884273618,-0.065317153930664,-0.012656599283218,0.182516008615494,0.013773808255792,-0.095247469842434,-0.013757657259703) * FEATURE6_texOff(vec2(0,0));
res += mat4(0.310614168643951,-0.133564278483391,-0.247917979955673,-0.061399050056934,-0.116042450070381,-0.049692366272211,0.026800181716681,0.005462471861392,0.045175578445196,-0.041777431964874,-0.002933912212029,-0.057889733463526,-0.078362435102463,0.014743733219802,0.038350772112608,-0.080751448869705) * FEATURE6_texOff(vec2(0,1));
res += mat4(-0.157575652003288,-0.162016510963440,-0.086881123483181,0.114882916212082,-0.060339469462633,0.003063664073125,-0.005019881296903,0.079778201878071,-0.043020311743021,-0.023880297318101,-0.075436979532242,-0.014061059802771,0.041944310069084,0.079826816916466,0.055426418781281,0.076360806822777) * FEATURE6_texOff(vec2(1,-1));
res += mat4(0.062837183475494,-0.309730112552643,-0.130462870001793,0.172079026699066,0.071324139833450,-0.070997931063175,0.078473545610905,-0.005886143073440,0.061439074575901,-0.011056128889322,0.066828727722168,0.036915563046932,-0.033154431730509,0.021693522110581,-0.022671276703477,-0.041248664259911) * FEATURE6_texOff(vec2(1,0));
res += mat4(-0.126989796757698,-0.069551236927509,-0.103695705533028,-0.038078200072050,0.014316742308438,0.061008542776108,-0.039652794599533,0.027908401563764,-0.023910421878099,0.024459682404995,-0.098915554583073,0.023343445733190,-0.029795665293932,-0.051127333194017,0.007178729865700,0.127395763993263) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.920625925064087,0.178385153412819,-0.006832154933363,0.063227094709873) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL5
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 1_5

vec4 hook()
{
vec4 res = vec4(0.002105891937390,0.161938682198524,-0.078836701810360,-0.237295851111412);
res += mat4(-0.057763684540987,0.058805942535400,-0.025588540360332,-0.027094176039100,0.071582913398743,-0.083125017583370,0.061804585158825,0.018565881997347,-0.070521354675293,-0.026830762624741,-0.012085655704141,-0.050832945853472,-0.056913234293461,-0.143888175487518,0.071153372526169,-0.074700199067593) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.103369899094105,0.022757161408663,0.086171552538872,-0.124483257532120,0.039319567382336,0.118922933936119,0.020556287840009,0.012468703091145,0.026609316468239,0.068308196961880,0.058393042534590,-0.071598604321480,-0.089143104851246,-0.105123713612556,-0.057451359927654,-0.001594980014488) * FEATURE1_texOff(vec2(-1,0));
res += mat4(0.106601059436798,-0.138783365488052,-0.154076918959618,0.000618780730292,0.013604026287794,-0.084877848625183,0.031613517552614,0.119110010564327,0.139564707875252,0.030923543497920,0.015912266448140,0.145311608910561,0.072688326239586,0.006912115495652,0.044893886893988,0.067133001983166) * FEATURE1_texOff(vec2(-1,1));
res += mat4(0.209391742944717,0.032895658165216,0.061660125851631,0.101573579013348,-0.117646351456642,0.067629054188728,0.032049600034952,0.020030729472637,0.086490601301193,0.095313370227814,0.040772374719381,0.116782493889332,-0.013068454340100,-0.123433418571949,0.086510635912418,-0.061847057193518) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.061277117580175,-0.125573411583900,-0.022139927372336,-0.169030815362930,-0.036364965140820,0.254465728998184,0.029100541025400,-0.013206831179559,0.027636753395200,-0.065168596804142,0.056216146796942,-0.121970318257809,-0.109798051416874,-0.011919563636184,-0.131250023841858,-0.076861210167408) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.114051766693592,0.054794207215309,-0.094662413001060,-0.092461831867695,0.003764810739085,-0.087395764887333,-0.021241497248411,-0.009392617270350,-0.033149763941765,-0.026125971227884,0.022694239392877,0.008558812551200,-0.123170346021652,0.141489624977112,-0.018310762941837,-0.135345339775085) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.199682280421257,-0.085944250226021,-0.007411226164550,0.152417287230492,-0.203939393162727,-0.042917978018522,-0.019011866301298,-0.030151497572660,-0.086984269320965,-0.082241922616959,-0.150011047720909,0.077976413071156,-0.070721283555031,0.101927489042282,-0.058937158435583,0.066082336008549) * FEATURE1_texOff(vec2(1,-1));
res += mat4(0.213997393846512,0.152131363749504,0.042774349451065,0.215936005115509,0.085767798125744,-0.053501740098000,0.019446270540357,0.035573307424784,0.010323411785066,-0.003195975674316,0.116766288876534,0.147290781140327,-0.078529961407185,0.253791183233261,-0.082409434020519,0.205626383423805) * FEATURE1_texOff(vec2(1,0));
res += mat4(0.005293467547745,0.003119879169390,-0.115220606327057,-0.244977608323097,-0.076975971460342,-0.224731460213661,-0.094793424010277,-0.055933199822903,0.102575898170471,0.001882815500721,0.016791986301541,-0.168002009391785,-0.006096960511059,0.004301476292312,-0.119300775229931,-0.031772866845131) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.061868421733379,0.039369046688080,-0.011826775968075,0.050113406032324,0.107215888798237,-0.012932663783431,-0.149377077817917,0.035546295344830,-0.015422221273184,0.045750200748444,-0.057474184781313,-0.141174092888832,-0.130956411361694,0.014507452957332,0.052314467728138,0.073520846664906) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(-0.011531495489180,-0.061157613992691,-0.088325843214989,-0.084375977516174,-0.107596956193447,0.042948387563229,-0.034703511744738,-0.064436063170433,-0.067258141934872,0.007730706594884,0.017091698944569,-0.030941594392061,0.162038847804070,0.036606162786484,0.125990003347397,0.063651889562607) * FEATURE2_texOff(vec2(-1,0));
res += mat4(-0.012359358370304,0.005633761640638,-0.057312700897455,0.187864229083061,0.087831579148769,-0.093325905501842,0.017517130821943,0.150381788611412,-0.046114109456539,-0.035039242357016,0.022005839273334,0.126285061240196,-0.110621146857738,-0.122166275978088,-0.195987582206726,0.048942744731903) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.038112215697765,-0.193383350968361,-0.101366676390171,0.101721674203873,-0.075112961232662,0.044106274843216,0.058003988116980,0.009931650012732,0.072991870343685,0.002055966062471,0.018142148852348,0.139532983303070,-0.126754730939865,-0.016463033854961,0.104970760643482,-0.021319858729839) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.031776137650013,0.052393790334463,-0.038909219205379,-0.054101809859276,0.163624003529549,-0.109703794121742,0.053706467151642,-0.004493616055697,-0.049871671944857,0.102237723767757,-0.025064760819077,-0.081427596509457,-0.102419883012772,0.058972876518965,0.020760374143720,-0.072716571390629) * FEATURE2_texOff(vec2(0,0));
res += mat4(-0.007792603690177,0.064997941255569,-0.115542463958263,0.088288106024265,-0.057428132742643,0.045676954090595,-0.036566663533449,-0.017709193751216,0.022870218381286,-0.078610375523567,-0.037553533911705,0.000717292423360,0.107287697494030,-0.063840702176094,-0.054518014192581,0.240163743495941) * FEATURE2_texOff(vec2(0,1));
res += mat4(0.034214552491903,0.040846545249224,0.000210103287827,0.016140896826982,-0.020320389419794,-0.017854971811175,0.128778353333473,-0.156935960054398,-0.044503461569548,-0.010126299224794,-0.118213601410389,-0.031047204509377,0.068127788603306,0.068806223571301,-0.016373867169023,0.142791390419006) * FEATURE2_texOff(vec2(1,-1));
res += mat4(-0.078429602086544,0.137821733951569,0.013687320984900,0.088980875909328,-0.075240738689899,0.110445551574230,-0.024434106424451,0.149900898337364,0.065458193421364,-0.009318305179477,0.033842951059341,0.144099816679955,0.015077624469995,-0.044782735407352,0.054242406040430,-0.218420699238777) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.055325224995613,-0.158410087227821,-0.115589730441570,0.006889246869832,0.048150543123484,0.080467939376831,0.022970931604505,-0.097128853201866,-0.010278222151101,0.014996714890003,0.020156482234597,-0.044664300978184,0.015393825247884,0.051728971302509,-0.021643945947289,-0.046226095408201) * FEATURE2_texOff(vec2(1,1));
res += mat4(-0.090879499912262,0.000113628739200,0.173869386315346,-0.123772218823433,0.046514332294464,-0.032235603779554,0.008656565099955,0.000461234449176,0.160731434822083,-0.045164033770561,-0.056934166699648,0.017450466752052,0.041927620768547,0.014416195452213,0.024500293657184,-0.048095326870680) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(-0.002330857096240,-0.034669425338507,0.082938723266125,-0.081844441592693,-0.030384371057153,0.040845382958651,-0.101171478629112,-0.177622228860855,0.027120428159833,-0.037048261612654,-0.026512183248997,0.136590972542763,-0.081577047705650,-0.147600248456001,-0.055951755493879,-0.073133148252964) * FEATURE3_texOff(vec2(-1,0));
res += mat4(-0.000771120714489,0.037670567631721,0.028326584026217,0.091184891760349,-0.019386071711779,0.037604741752148,-0.035819780081511,0.096910282969475,0.036843612790108,-0.026611149311066,0.006753552705050,-0.060751587152481,0.019599424675107,-0.022210460156202,0.085680820047855,0.113516464829445) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.163037136197090,-0.101214177906513,-0.040419653058052,0.084792599081993,0.019580656662583,0.126035854220390,-0.059630479663610,0.069321893155575,-0.213020727038383,0.242908880114555,0.033912528306246,-0.018805271014571,0.228140398859978,-0.094800055027008,-0.031207209452987,0.092883288860321) * FEATURE3_texOff(vec2(0,-1));
res += mat4(0.003274858696386,0.060564655810595,-0.080634340643883,-0.222157031297684,0.105897933244705,0.075795471668243,0.062861263751984,-0.080502860248089,-0.063742168247700,0.367719531059265,-0.092563971877098,0.062000758945942,-0.290994435548782,-0.074603684246540,-0.068629875779152,-0.097196258604527) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.032411765307188,0.133048787713051,0.026960773393512,-0.068850331008434,-0.027521662414074,-0.151938185095787,-0.124314583837986,-0.078497283160686,0.069073162972927,0.075402937829494,-0.025094138458371,0.154616013169289,-0.013029946945608,0.185552075505257,0.039124540984631,-0.017672022804618) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.042125567793846,-0.075880639255047,-0.028514601290226,-0.043420929461718,-0.016797874122858,-0.002219763817266,0.069411948323250,0.037803452461958,-0.052683692425489,-0.074596330523491,-0.003979810979217,-0.045056857168674,-0.006288292352110,-0.010627947747707,-0.028270209208131,0.017449235543609) * FEATURE3_texOff(vec2(1,-1));
res += mat4(-0.014824186451733,0.137968212366104,0.129377588629723,0.228518873453140,-0.104659259319305,-0.106034182012081,0.018984731286764,0.003289607353508,0.195343464612961,-0.260972619056702,0.069510437548161,-0.047196667641401,0.194972664117813,0.019417798146605,-0.023741746321321,0.066675901412964) * FEATURE3_texOff(vec2(1,0));
res += mat4(0.017479330301285,-0.167783856391907,-0.008579822257161,-0.195654988288879,0.030059395357966,0.026819832623005,-0.068747244775295,0.006906628143042,0.014031315222383,-0.267488777637482,0.035311769694090,-0.007782953791320,-0.003059167414904,0.043513253331184,0.005924705415964,-0.183705061674118) * FEATURE3_texOff(vec2(1,1));
res += mat4(-0.065620921552181,0.024729108437896,0.102948330342770,-0.070296794176102,0.108857281506062,0.014568029902875,0.029582696035504,-0.044157050549984,0.114956773817539,-0.039951562881470,0.024237360805273,0.077190585434437,0.010265552438796,-0.038858801126480,0.026099955663085,0.028055988252163) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(0.132671043276787,-0.180521965026855,-0.001716572558507,0.068396277725697,0.238498806953430,-0.000992025714368,-0.037783116102219,0.181228443980217,-0.106714516878128,-0.081685930490494,-0.010842092335224,-0.152410164475441,0.043732345104218,0.033628065139055,-0.043997414410114,0.025838166475296) * FEATURE4_texOff(vec2(-1,0));
res += mat4(-0.065474420785904,0.021900190040469,0.078782707452774,-0.017928669229150,-0.024465281516314,-0.048382591456175,0.025573978200555,-0.171267166733742,-0.065132878720760,-0.038712669163942,-0.009095180779696,0.064151361584663,0.049031734466553,0.006668313872069,0.004809201695025,0.054362926632166) * FEATURE4_texOff(vec2(-1,1));
res += mat4(-0.057383351027966,-0.026443289592862,0.064496167004108,-0.075113862752914,-0.082545243203640,-0.112210549414158,-0.093187540769577,-0.093289285898209,0.100924931466579,-0.108463898301125,-0.080895461142063,0.055947382003069,-0.128624945878983,-0.007902937941253,0.132622674107552,-0.026110550388694) * FEATURE4_texOff(vec2(0,-1));
res += mat4(-0.002395035699010,-0.033081039786339,0.007189434021711,0.007770969998091,-0.132524862885475,-0.019582018256187,-0.068206422030926,0.128742769360542,0.197072789072990,-0.218714892864227,-0.000453889369965,0.025363134220243,0.042279977351427,-0.060408666729927,0.062354516237974,0.098298624157906) * FEATURE4_texOff(vec2(0,0));
res += mat4(0.000999210402369,0.061700940132141,0.075171127915382,0.004485252778977,0.068628653883934,0.079719848930836,0.038624528795481,0.132814854383469,-0.128301322460175,0.169652655720711,-0.055434633046389,-0.131428971886635,-0.072983734309673,-0.040960669517517,-0.036081895232201,-0.124780163168907) * FEATURE4_texOff(vec2(0,1));
res += mat4(0.053670354187489,0.023346131667495,-0.063323669135571,-0.053951542824507,-0.147246226668358,0.052030883729458,-0.103354685008526,-0.066584385931492,-0.003527966560796,0.005359434988350,0.069470249116421,0.011007652617991,0.000367756962078,0.101070836186409,0.032558958977461,0.063669651746750) * FEATURE4_texOff(vec2(1,-1));
res += mat4(-0.025868363678455,-0.020941080525517,-0.026055989786983,-0.120605736970901,-0.035881716758013,0.017057726159692,-0.090300090610981,-0.071076571941376,-0.053599804639816,0.140094652771950,0.062485128641129,0.109555549919605,0.150388270616531,-0.064077466726303,-0.083241365849972,-0.046325035393238) * FEATURE4_texOff(vec2(1,0));
res += mat4(0.006929120514542,0.105269305408001,0.070691071450710,0.101738147437572,-0.015684200450778,0.049759425222874,-0.010969211347401,0.040294326841831,-0.035641703754663,0.209818333387375,0.113218471407890,0.103871658444405,-0.046847410500050,0.057942360639572,-0.009890313260257,0.071580655872822) * FEATURE4_texOff(vec2(1,1));
res += mat4(-0.004046665038913,0.048986263573170,0.061393074691296,-0.025254577398300,0.126599937677383,0.026902984827757,-0.052745934575796,0.085628256201744,0.028612170368433,0.062378656119108,0.003207633038983,0.002232496626675,-0.105512224137783,0.007703571114689,-0.149352222681046,-0.076822176575661) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(0.019194075837731,-0.058075014501810,-0.131477177143097,-0.113776788115501,-0.346330702304840,-0.093350991606712,-0.020613372325897,-0.288562327623367,0.038164939731359,-0.063174337148666,-0.086413383483887,0.147883892059326,-0.080514810979366,-0.183451548218727,-0.015688514336944,0.002488402649760) * FEATURE5_texOff(vec2(-1,0));
res += mat4(-0.030182147398591,-0.049915116280317,-0.039803560823202,-0.022307546809316,0.061078030616045,0.034415382891893,-0.035071179270744,0.115001253783703,-0.122309111058712,0.030143342912197,-0.027512632310390,-0.156285598874092,0.000547988107428,0.017920490354300,0.035793226212263,-0.157011792063713) * FEATURE5_texOff(vec2(-1,1));
res += mat4(0.117640636861324,-0.084258511662483,-0.138301014900208,0.108898706734180,0.254134207963943,0.091689802706242,-0.204220876097679,0.092553369700909,-0.120093472301960,-0.186781108379364,0.111419036984444,-0.193879261612892,0.246047914028168,-0.117046423256397,-0.067330673336983,0.121722407639027) * FEATURE5_texOff(vec2(0,-1));
res += mat4(-0.017275499179959,-0.173104196786880,-0.011079438962042,-0.011658506467938,0.137367725372314,-0.346720308065414,0.044707152992487,-0.036698710173368,-0.087705656886101,0.145732894539833,0.036644980311394,0.145940035581589,0.061730943620205,-0.055608563125134,-0.118457548320293,-0.065824322402477) * FEATURE5_texOff(vec2(0,0));
res += mat4(-0.088681653141975,0.019749375060201,-0.062116507440805,0.082990348339081,-0.021635413169861,0.009228724986315,-0.118538260459900,-0.296997100114822,0.125943973660469,0.065069094300270,0.100618496537209,0.198027357459068,0.054823752492666,0.042416181415319,0.029180500656366,-0.054982580244541) * FEATURE5_texOff(vec2(0,1));
res += mat4(0.076226964592934,-0.078140020370483,0.018139990046620,-0.015307173132896,0.105076566338539,-0.075996257364750,0.087692409753799,-0.082429639995098,0.079307712614536,0.000100436693174,-0.001820567646064,-0.018360404297709,-0.123888581991196,0.166943714022636,0.047177407890558,0.059535965323448) * FEATURE5_texOff(vec2(1,-1));
res += mat4(-0.051543895155191,0.115512356162071,0.022798392921686,-0.079712614417076,-0.156066134572029,-0.017999520525336,0.063026256859303,0.340404242277145,0.056308422237635,-0.029037356376648,-0.127545446157455,-0.237591728568077,-0.058971181511879,0.187042698264122,0.076354846358299,0.207686647772789) * FEATURE5_texOff(vec2(1,0));
res += mat4(0.033721536397934,-0.027819732204080,-0.071364201605320,0.005678008776158,0.101973704993725,0.355901837348938,0.158004403114319,-0.075514867901802,0.037387683987617,-0.009325417689979,-0.111830957233906,-0.046368338167667,0.040607873350382,0.080345459282398,0.031688995659351,-0.077120803296566) * FEATURE5_texOff(vec2(1,1));
res += mat4(-0.150794669985771,-0.282812446355820,-0.054475802928209,-0.067824900150299,0.040667839348316,-0.038562770932913,-0.053200073540211,-0.061948679387569,-0.126582041382790,0.066379174590111,-0.008167102001607,-0.045758623629808,0.059883587062359,-0.031430110335350,0.011147651821375,0.056804157793522) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(-0.052471648901701,-0.031147990375757,-0.065214514732361,-0.102254286408424,0.011050703935325,-0.042349200695753,-0.018877303227782,0.068682037293911,-0.152570828795433,-0.090217359364033,0.038250286132097,0.099436983466148,-0.011460506357253,-0.034888453781605,0.002015908248723,-0.060166858136654) * FEATURE6_texOff(vec2(-1,0));
res += mat4(-0.023969247937202,-0.007611448410898,0.085849478840828,0.162185952067375,-0.073109760880470,-0.049149621278048,-0.095002241432667,-0.134624391794205,0.015783209353685,0.066823095083237,0.028082715347409,0.060891002416611,-0.062280088663101,0.017025431618094,0.053376559168100,-0.142035201191902) * FEATURE6_texOff(vec2(-1,1));
res += mat4(0.126788780093193,-0.110549926757813,-0.065661311149597,0.044992387294769,-0.026009880006313,-0.011114850640297,0.055337473750114,-0.031029265373945,0.040627703070641,0.016319042071700,-0.017563670873642,-0.014431760646403,-0.166122734546661,-0.064737401902676,0.030957235023379,-0.099781997501850) * FEATURE6_texOff(vec2(0,-1));
res += mat4(-0.099926233291626,0.017986975610256,0.141225293278694,-0.083856098353863,-0.009519174695015,-0.068749785423279,-0.069191113114357,-0.113894864916801,0.027989601716399,-0.090802147984505,0.029480455443263,-0.046167973428965,0.079390279948711,0.077887326478958,0.062853850424290,0.163960367441177) * FEATURE6_texOff(vec2(0,0));
res += mat4(-0.105474673211575,0.067526035010815,-0.000260953936959,0.089804105460644,-0.016213603317738,0.012234855443239,-0.002865791553631,0.057033721357584,-0.027730697765946,-0.152173340320587,0.029681347310543,-0.012591572478414,-0.026569493114948,-0.020497951656580,-0.010988452471793,-0.033294524997473) * FEATURE6_texOff(vec2(0,1));
res += mat4(0.121541537344456,0.067820265889168,0.098312124609947,0.048863608390093,0.075874663889408,0.012970648705959,-0.007288994733244,0.125002443790436,-0.018733266741037,-0.027852552011609,0.041030433028936,-0.021792897954583,0.084467679262161,0.085319869220257,0.018123324960470,-0.027599064633250) * FEATURE6_texOff(vec2(1,-1));
res += mat4(0.075674064457417,-0.016961909830570,0.014170419424772,0.005772019736469,0.076578974723816,0.006646866910160,0.117398679256439,-0.001211012830026,-0.029848199337721,0.027980146929622,0.006038767285645,0.091730743646622,-0.064425900578499,-0.050702858716249,-0.001278956304304,-0.093623191118240) * FEATURE6_texOff(vec2(1,0));
res += mat4(0.096940144896507,0.067930437624454,-0.080339640378952,-0.026880115270615,0.014679552987218,0.174685299396515,0.064522907137871,0.029925120994449,0.070941686630249,0.005773475393653,-0.056348845362663,0.032467249780893,0.065898872911930,0.031401965767145,0.060313198715448,0.196530714631081) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.774789392948151,0.450435638427734,0.262051254510880,-0.101915754377842) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL6
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 1_6

vec4 hook()
{
vec4 res = vec4(-0.308597385883331,0.168996274471283,0.036476247012615,-0.114501461386681);
res += mat4(0.043557215481997,0.009350376203656,0.048523738980293,0.098027251660824,-0.142921566963196,-0.183725148439407,-0.146942332386971,-0.132535591721535,0.030313288792968,-0.082785055041313,0.028727520257235,-0.069536715745926,-0.127160474658012,-0.181030049920082,-0.042921572923660,-0.159857571125031) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(0.081157930195332,-0.099357910454273,-0.014594179578125,-0.006742439232767,-0.179695799946785,-0.073914110660553,0.040171526372433,-0.019056580960751,-0.077319748699665,0.098469398915768,0.061975613236427,0.211778059601784,-0.305485755205154,0.052095331251621,-0.006760767195374,0.055742803961039) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.056823708117008,-0.049176700413227,0.023530934005976,0.083165474236012,-0.026821188628674,0.055312201380730,-0.108260616660118,-0.173871949315071,0.128318637609482,-0.066242225468159,-0.064780324697495,-0.122429609298706,0.047713056206703,0.091539658606052,-0.017087241634727,-0.000514293496963) * FEATURE1_texOff(vec2(-1,1));
res += mat4(0.159655913710594,0.218833908438683,0.081125073134899,0.034541487693787,0.023237954825163,-0.133734568953514,-0.050909020006657,-0.045243803411722,0.046158052980900,0.105385571718216,0.011458668857813,-0.002588768023998,-0.156283780932426,0.010703623294830,0.062412347644567,0.020362583920360) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.155571550130844,-0.156360447406769,-0.131238475441933,-0.217241078615189,0.099777296185493,-0.009290684014559,0.216722860932350,0.274154037237167,0.094053879380226,-0.094424791634083,-0.101790040731430,-0.106395289301872,-0.261614561080933,-0.167054876685143,0.030778223648667,0.117703668773174) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.323247581720352,-0.096217155456543,0.096224024891853,-0.015351306647062,0.065820008516312,0.164643049240112,0.057170197367668,0.146968171000481,-0.258909523487091,0.094389587640762,-0.015410591848195,-0.022219788283110,-0.094943277537823,0.009076715447009,0.141107231378555,0.287506520748138) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.070677325129509,0.218977585434914,-0.030371233820915,0.041059568524361,-0.071408495306969,-0.012937081977725,-0.202852115035057,-0.120478287339211,-0.033715806901455,0.030828753486276,-0.059923596680164,0.108488000929356,-0.025293810293078,0.087288051843643,0.065720096230507,-0.043112527579069) * FEATURE1_texOff(vec2(1,-1));
res += mat4(0.228522226214409,-0.018849130719900,0.088957972824574,-0.083409748971462,-0.038423635065556,0.024847697466612,-0.072021923959255,0.011757321655750,0.073805101215839,-0.063667081296444,-0.018824111670256,-0.074867740273476,-0.000765771139413,0.053791046142578,0.152934163808823,0.119315221905708) * FEATURE1_texOff(vec2(1,0));
res += mat4(-0.076424904167652,-0.073926158249378,0.077292442321777,0.051069263368845,0.041462358087301,0.053428404033184,-0.045736134052277,-0.118118599057198,0.060307230800390,-0.111118897795677,-0.040874823927879,0.087027639150620,0.175680771470070,-0.042960781604052,0.033566050231457,0.059800490736961) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.049923624843359,-0.000920238264371,0.022094849497080,0.076722510159016,0.057964116334915,-0.039273291826248,0.095456898212433,-0.075948089361191,0.056676644831896,-0.134147807955742,-0.043465003371239,-0.071503862738609,0.099300421774387,-0.090341560542583,0.057930119335651,-0.190990313887596) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(-0.065604180097580,-0.052918206900358,-0.048188392072916,-0.072017386555672,-0.028930461034179,0.092147789895535,0.010688027366996,0.084757529199123,-0.127862378954887,0.041718009859324,-0.013346251100302,0.053360149264336,-0.019787833094597,0.088861450552940,0.088616162538528,0.092597268521786) * FEATURE2_texOff(vec2(-1,0));
res += mat4(-0.098928570747375,-0.039524536579847,-0.096351683139801,-0.053770463913679,0.089740589261055,-0.009160522371531,0.018646707758307,-0.012506105005741,0.096733391284943,-0.040991637855768,0.027235491201282,-0.087597846984863,0.012227392755449,-0.045093718916178,-0.019471008330584,0.035668388009071) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.088764674961567,-0.077767737209797,-0.015701849013567,-0.026514634490013,-0.029410634189844,0.065240353345871,0.119937539100647,0.093925729393959,-0.091001950204372,0.170876637101173,0.018922878429294,-0.007176083512604,0.122244000434875,-0.059338334947824,-0.010344231501222,-0.134726107120514) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.205921232700348,-0.000415602320572,0.011434203945100,-0.017586922273040,0.063025340437889,0.002540817717090,-0.100663483142853,-0.082283690571785,0.143769711256027,-0.101166471838951,-0.091613121330738,-0.097203746438026,-0.008233597502112,0.089390322566032,0.144988685846329,0.253657221794128) * FEATURE2_texOff(vec2(0,0));
res += mat4(0.031958341598511,-0.011248835362494,-0.019788978621364,0.082382671535015,-0.194965243339539,0.055855147540569,0.111090242862701,0.001405686023645,-0.166466683149338,0.042441345751286,0.021922174841166,-0.027358045801520,0.116408504545689,-0.053993053734303,-0.068653598427773,-0.198305696249008) * FEATURE2_texOff(vec2(0,1));
res += mat4(0.015793478116393,0.094698525965214,-0.040512539446354,-0.007844761945307,-0.043453857302666,0.045383065938950,-0.000065031461418,-0.097694888710976,-0.020191624760628,0.030413400381804,-0.043840520083904,0.152736008167267,-0.071002922952175,0.093305937945843,-0.001218837103806,-0.022362248972058) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.062558248639107,0.068918235599995,0.010719358921051,0.121446356177330,-0.058656044304371,0.007664197590202,0.041515383869410,0.018404934555292,0.052760642021894,-0.006125085521489,-0.007727399934083,-0.138679087162018,0.004341021645814,-0.183650210499763,-0.072036795318127,-0.149342417716980) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.068730250000954,-0.024428142234683,0.005485234782100,-0.070545673370361,0.158033728599548,-0.108607485890388,-0.007153456564993,0.044660404324532,-0.083458550274372,-0.030038727447391,-0.003849956672639,0.099885374307632,-0.372549623250961,0.089945070445538,-0.082682639360428,0.166385099291801) * FEATURE2_texOff(vec2(1,1));
res += mat4(0.021162565797567,-0.100198380649090,0.023272825405002,-0.072711303830147,-0.032588027417660,-0.203864142298698,0.021784961223602,-0.139915317296982,-0.160399541258812,-0.023510716855526,-0.116049878299236,-0.159012660384178,0.127663791179657,-0.013251701369882,0.014463934116066,0.160979345440865) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(-0.100509800016880,0.095460340380669,0.050907202064991,0.150533407926559,-0.206034898757935,-0.046459905803204,0.126420617103577,0.144599243998528,-0.114165455102921,0.159201517701149,-0.073386304080486,-0.347568541765213,-0.047906462103128,-0.158929571509361,0.068776875734329,0.014020811766386) * FEATURE3_texOff(vec2(-1,0));
res += mat4(0.154124900698662,-0.026006801053882,-0.075338713824749,-0.136472418904305,0.194498762488365,0.051401700824499,0.035375654697418,0.081181474030018,0.046435445547104,-0.128864392638206,-0.081558391451836,-0.069033153355122,-0.177509948611259,0.080858439207077,0.080560810863972,0.038335382938385) * FEATURE3_texOff(vec2(-1,1));
res += mat4(-0.022980567067862,0.073205985128880,0.024154890328646,0.002758663380519,0.001671284204349,-0.018333151936531,0.041273981332779,0.029043093323708,0.050874844193459,-0.094849318265915,-0.226702317595482,-0.146843403577805,0.030635412782431,-0.031907718628645,-0.071291156113148,-0.006392018403858) * FEATURE3_texOff(vec2(0,-1));
res += mat4(-0.093967109918594,-0.030004467815161,-0.100297749042511,-0.121808320283890,0.052968915551901,0.068488739430904,0.117479242384434,0.159150496125221,0.214115202426910,0.088534787297249,0.016722960397601,0.209623456001282,-0.270206868648529,-0.135351657867432,-0.023712377995253,-0.200711548328400) * FEATURE3_texOff(vec2(0,0));
res += mat4(-0.272360622882843,-0.031999971717596,0.114207133650780,0.137954279780388,0.075904160737991,-0.022134628146887,-0.068695724010468,-0.146559804677963,0.138981521129608,-0.005436385516077,-0.189510926604271,0.014811358414590,-0.062038328498602,0.135409727692604,0.041821558028460,0.173999339342117) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.050384849309921,0.099401518702507,-0.059377752244473,0.079365849494934,-0.047810796648264,0.046859603375196,0.020938377827406,-0.008489505387843,0.024878785014153,-0.152276888489723,-0.094840876758099,-0.071009188890457,0.072725981473923,-0.011734392493963,0.015337395481765,0.135730504989624) * FEATURE3_texOff(vec2(1,-1));
res += mat4(0.001452097319998,0.022416984662414,0.091784931719303,-0.025984305888414,-0.025679497048259,0.053648587316275,0.002144721802324,-0.003584055695683,-0.114133067429066,0.051770240068436,-0.160375103354454,0.035470522940159,0.069929659366608,-0.002178482245654,0.140370547771454,0.037776526063681) * FEATURE3_texOff(vec2(1,0));
res += mat4(0.267477095127106,-0.008503582328558,0.024891292676330,0.060873758047819,-0.038225486874580,0.015171803534031,0.027869015932083,-0.020091030746698,-0.122189067304134,-0.063994564116001,-0.062896415591240,-0.059463784098625,-0.014735364355147,0.026450179517269,0.031276024878025,0.042568046599627) * FEATURE3_texOff(vec2(1,1));
res += mat4(0.042584028095007,-0.004645619541407,0.003181234002113,-0.091717146337032,-0.026468664407730,0.174532741308212,-0.138258099555969,-0.234363675117493,0.045690156519413,0.113836906850338,0.105284310877323,-0.004767993930727,-0.018050618469715,0.035390373319387,-0.012848853133619,-0.005584531929344) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(-0.069419622421265,0.034842979162931,0.001586243510246,0.058617919683456,0.020897123962641,0.030001007020473,-0.127491444349289,-0.226966172456741,0.039330579340458,-0.019262950867414,-0.133903518319130,-0.059017479419708,0.078969419002533,-0.096695236861706,-0.013687300495803,0.074608005583286) * FEATURE4_texOff(vec2(-1,0));
res += mat4(-0.016440518200397,0.025192087516189,0.022965850308537,-0.066699497401714,-0.141982093453407,-0.121037863194942,-0.083207361400127,-0.313969701528549,-0.054478526115417,-0.097533099353313,0.007988599129021,-0.064892925322056,-0.022985007613897,0.079385578632355,0.051947757601738,-0.002545485273004) * FEATURE4_texOff(vec2(-1,1));
res += mat4(-0.062655672430992,-0.028708770871162,-0.009939340874553,-0.116458073258400,-0.071393840014935,-0.081465765833855,-0.070932894945145,0.144484341144562,0.095369391143322,0.113497406244278,0.040955122560263,0.099567651748657,-0.137226536870003,0.035696968436241,-0.033552873879671,-0.069204717874527) * FEATURE4_texOff(vec2(0,-1));
res += mat4(-0.020720323547721,0.014988472685218,0.040918406099081,0.123779848217964,0.143488481640816,-0.048827208578587,-0.019059238955379,0.165641546249390,-0.053785372525454,-0.096542939543724,-0.250022619962692,-0.299467951059341,0.012185943312943,-0.036160312592983,0.035888489335775,0.000731030188035) * FEATURE4_texOff(vec2(0,0));
res += mat4(0.082619167864323,0.010927030816674,-0.014320959337056,0.029956799000502,0.081255301833153,0.038465455174446,0.021943354979157,0.155668780207634,-0.219642013311386,-0.028609080240130,-0.026196118444204,-0.052926376461983,-0.028679227456450,-0.009226307272911,0.027758145704865,0.069847539067268) * FEATURE4_texOff(vec2(0,1));
res += mat4(0.153153613209724,-0.003384475596249,0.048874679952860,0.003025750163943,0.031517080962658,-0.021867189556360,0.126182407140732,0.003750717733055,0.023921810090542,0.097387999296188,0.167777776718140,0.107071198523045,0.109218195080757,-0.026774065569043,-0.057467035949230,-0.014792868867517) * FEATURE4_texOff(vec2(1,-1));
res += mat4(-0.090903833508492,-0.017703358083963,0.011366091668606,-0.006966494955122,0.048144467175007,-0.038685888051987,0.085122846066952,0.062626183032990,0.084690049290657,0.060656581073999,0.070665396749973,-0.034857902675867,0.007906180806458,0.011676922440529,-0.044682078063488,-0.006621452979743) * FEATURE4_texOff(vec2(1,0));
res += mat4(-0.029882078990340,-0.008901495486498,-0.047072328627110,-0.013789676129818,0.057021550834179,0.036755893379450,-0.005528971552849,0.015420438721776,0.216283485293388,0.026209237053990,0.051801498979330,-0.009798876941204,-0.160068526864052,0.026630578562617,-0.006819570902735,-0.077772244811058) * FEATURE4_texOff(vec2(1,1));
res += mat4(0.012847190722823,-0.027566799893975,-0.004692669957876,0.033931329846382,0.000882406893652,0.065931372344494,-0.015232400968671,0.070086449384689,0.058608144521713,0.112508840858936,-0.040979471057653,-0.082166321575642,-0.088738121092319,0.061339940875769,0.180625021457672,0.301344215869904) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(0.207344874739647,-0.058535214513540,-0.040770459920168,0.094626821577549,0.008861782029271,-0.225972577929497,0.113568104803562,0.226810023188591,0.043411567807198,0.020269298925996,-0.083814471960068,-0.212918385863304,-0.083357580006123,-0.119956031441689,-0.059577774256468,0.031188787892461) * FEATURE5_texOff(vec2(-1,0));
res += mat4(-0.123305879533291,-0.020730338990688,-0.036940548568964,-0.011085954494774,-0.042363882064819,0.019519384950399,0.069217331707478,0.034073777496815,-0.108423121273518,0.007494788151234,0.042856574058533,0.002793033141643,-0.018861429765821,0.030000705271959,0.092242948710918,0.163854092359543) * FEATURE5_texOff(vec2(-1,1));
res += mat4(0.184996694326401,0.007887091487646,0.036039996892214,0.009440805763006,0.118849582970142,0.267323702573776,0.043321117758751,0.281832486391068,0.030791254714131,-0.231713652610779,-0.053597483783960,-0.108714096248150,-0.056238800287247,0.039323765784502,0.068889528512955,-0.008642257191241) * FEATURE5_texOff(vec2(0,-1));
res += mat4(-0.233230277895927,0.060587968677282,-0.039863482117653,-0.224442988634109,0.265089929103851,-0.208238184452057,-0.187423005700111,-0.236965939402580,-0.123734071850777,0.161717712879181,0.120479732751846,0.171045035123825,-0.191054910421371,-0.121980756521225,-0.248662889003754,-0.252503812313080) * FEATURE5_texOff(vec2(0,0));
res += mat4(-0.134678512811661,-0.045709133148193,0.033866103738546,-0.037444248795509,-0.461870163679123,0.019283503293991,0.102382019162178,-0.060967028141022,0.236485987901688,-0.054931465536356,-0.025549059733748,-0.037628032267094,0.037593219429255,0.005653341766447,-0.038132991641760,-0.025959983468056) * FEATURE5_texOff(vec2(0,1));
res += mat4(-0.014731885865331,-0.076882965862751,-0.067159198224545,-0.124857835471630,-0.026921836659312,0.054694958031178,0.014233338646591,0.131709828972816,0.084164947271347,-0.007696954533458,0.040940210223198,-0.127746164798737,0.155497804284096,0.190545216202736,0.140546321868896,0.209798857569695) * FEATURE5_texOff(vec2(1,-1));
res += mat4(0.029966343194246,0.064530618488789,-0.006412168499082,0.148168936371803,0.047119576483965,-0.032530181109905,0.188686713576317,-0.069464065134525,-0.141608998179436,-0.098836556077003,-0.076508276164532,0.110360063612461,0.221336975693703,0.032586123794317,0.010189317166805,-0.083798445761204) * FEATURE5_texOff(vec2(1,0));
res += mat4(0.153324320912361,-0.007102950010449,-0.042683657258749,-0.082211054861546,0.004022077191621,-0.047693185508251,-0.010160467587411,0.153770282864571,-0.081690430641174,0.044970329850912,-0.032077576965094,0.013204176910222,0.184694334864616,-0.029557032510638,0.132240295410156,-0.102444842457771) * FEATURE5_texOff(vec2(1,1));
res += mat4(-0.147671550512314,-0.093710049986839,-0.004839162342250,-0.304124206304550,0.013174547813833,-0.034366313368082,-0.020348867401481,-0.008568868041039,0.054801207035780,0.003721750807017,0.008283144794405,0.047810029238462,-0.121880963444710,0.077521495521069,0.002907912945375,-0.039035405963659) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(-0.334036320447922,0.048556897789240,-0.157839968800545,-0.123907826840878,-0.030868683010340,0.044514629989862,-0.024516616016626,-0.023879522457719,-0.007783363107592,0.018583843484521,0.032283186912537,0.115429133176804,-0.123734913766384,-0.107644319534302,-0.026222523301840,-0.136284023523331) * FEATURE6_texOff(vec2(-1,0));
res += mat4(-0.040028166025877,-0.152000859379768,-0.084002651274204,-0.061828318983316,0.007261514198035,-0.045329853892326,0.078840561211109,0.137539684772491,0.080297425389290,-0.020839709788561,-0.008736150339246,0.066452868282795,-0.108519710600376,0.022328153252602,0.004342538304627,0.005335493013263) * FEATURE6_texOff(vec2(-1,1));
res += mat4(-0.354915887117386,0.154868736863136,-0.166595101356506,-0.399685710668564,0.079137615859509,-0.052836805582047,-0.048172835260630,0.001741660642438,-0.080037891864777,0.002715652808547,0.070851348340511,-0.138212680816650,-0.036873795092106,-0.075472131371498,-0.036913387477398,-0.042572390288115) * FEATURE6_texOff(vec2(0,-1));
res += mat4(-0.589632153511047,-0.235983192920685,-0.384908050298691,-0.386235415935516,0.013966212980449,-0.034491233527660,-0.113592736423016,-0.044113632291555,-0.108224727213383,0.006784242577851,0.020397350192070,-0.068016678094864,0.075722582638264,0.142989888787270,0.123918712139130,0.124840289354324) * FEATURE6_texOff(vec2(0,0));
res += mat4(-0.340250343084335,0.042024295777082,-0.091677844524384,-0.207368656992912,-0.076233491301537,-0.011720467358828,-0.051206320524216,-0.113422669470310,-0.175185412168503,0.013130069710314,0.044142790138721,-0.083648234605789,0.246570542454720,-0.088490359485149,-0.062792845070362,-0.020709531381726) * FEATURE6_texOff(vec2(0,1));
res += mat4(-0.208894237875938,0.126073494553566,-0.075340941548347,-0.085042774677277,0.123785033822060,0.052590448409319,0.056466873735189,0.104257971048355,0.001489505288191,-0.009987520985305,-0.045347198843956,-0.057456698268652,0.024543253704906,0.059231024235487,0.025187663733959,-0.043713513761759) * FEATURE6_texOff(vec2(1,-1));
res += mat4(-0.302008956670761,-0.104541011154652,-0.161482319235802,-0.299856930971146,-0.101456515491009,0.001799177727662,-0.065211057662964,-0.160149022936821,-0.079231686890125,-0.062773071229458,-0.070507869124413,-0.123223453760147,0.005609748885036,0.002596904290840,-0.082119360566139,0.128559291362762) * FEATURE6_texOff(vec2(1,0));
res += mat4(-0.295536994934082,-0.040644306689501,-0.107808701694012,-0.098821461200714,-0.064588241279125,-0.001454973709770,-0.110151000320911,0.137997865676880,-0.083731122314930,-0.094854578375816,-0.034446354955435,-0.036424033343792,0.017248257994652,0.046332649886608,-0.002216062508523,-0.089218966662884) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.000136806251248,0.189665645360947,0.010165171697736,-0.006086299195886) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL7
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 2_1

vec4 hook()
{
vec4 res = vec4(0.032848905771971,-0.125867381691933,-0.220014974474907,0.047394298017025);
res += mat4(-0.106404013931751,-0.151686638593674,-0.039528109133244,0.026730647310615,0.039279785007238,-0.075065992772579,-0.122748263180256,-0.221108883619308,-0.111019589006901,-0.000338422250934,-0.111382983624935,0.403422892093658,0.083457320928574,-0.040827203541994,-0.001763005391695,0.020403081551194) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.028395321220160,-0.189385473728180,0.150043696165085,0.172629609704018,-0.059151671826839,0.011379320174456,-0.013428579084575,0.012897022068501,-0.037243578583002,0.011354803107679,-0.030360033735633,-0.148696586489677,0.010295607149601,0.068267956376076,0.009933517314494,0.008915184065700) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.019238896667957,-0.038780812174082,-0.050575550645590,-0.020877027884126,0.046409338712692,-0.010784901678562,-0.112507671117783,-0.115551643073559,0.037710145115852,0.036122836172581,0.033196248114109,-0.125787332653999,-0.159588634967804,-0.061506625264883,-0.023863291367888,0.042071200907230) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.113771982491016,-0.146438926458359,-0.078692190349102,-0.185163274407387,-0.175622478127480,0.122104160487652,-0.023451054468751,0.094191469252110,0.082384578883648,0.007023485377431,-0.122036829590797,-0.008416954427958,0.086519405245781,0.055637534707785,0.200593501329422,0.060360487550497) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.097954809665680,-0.055855911225080,0.073227033019066,0.037442076951265,-0.232301041483879,0.058198437094688,0.151272535324097,0.139978408813477,0.080093607306480,-0.116263367235661,0.100820183753967,0.018036885187030,-0.001791486633010,0.045315131545067,-0.012502253986895,0.022370794788003) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.019658623263240,-0.058296222239733,0.085969075560570,0.054753094911575,0.036570154130459,0.051182772964239,-0.086967468261719,0.043129496276379,-0.011717746034265,0.058045446872711,0.034717522561550,-0.057904630899429,-0.129283905029297,-0.019264120608568,-0.020912684500217,0.008390115574002) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.047334037721157,-0.014045623131096,-0.018502874299884,-0.062830612063408,-0.008475243113935,0.073190599679947,-0.092288136482239,0.032278865575790,0.050995294004679,0.040851291269064,0.050637613981962,-0.180067673325539,0.066336490213871,-0.065474413335323,0.120927311480045,-0.025363208726048) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.034183401614428,-0.061471581459045,0.069295935332775,0.007967321202159,-0.077716119587421,0.144978538155556,0.105889789760113,0.015113828703761,-0.147433444857597,0.071793735027313,-0.055626183748245,-0.010718609206378,0.031053699553013,0.004661833401769,0.053172670304775,-0.016015242785215) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.049167908728123,0.068289011716843,-0.050860427320004,-0.020258666947484,0.027870388701558,0.029631854966283,-0.058342143893242,-0.015249189920723,0.023503774777055,-0.064790301024914,0.175228029489517,0.155524790287018,-0.063984379172325,-0.068250812590122,0.022859739139676,-0.022721415385604) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.033038206398487,-0.139360100030899,0.012674369849265,-0.101145476102829,-0.000287597737042,-0.048313342034817,-0.139480471611023,-0.464478731155396,0.075017660856247,0.051642742007971,0.062751121819019,0.222579926252365,0.021121907979250,-0.002622935222462,0.001369489124045,-0.237115278840065) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.003899242728949,0.024860650300980,0.153560504317284,0.158316269516945,-0.113639518618584,-0.029802817851305,0.046212691813707,0.147358387708664,0.084555849432945,0.064756527543068,-0.041666962206364,-0.038810975849628,0.053130123764277,0.015688166022301,0.037826545536518,-0.248707726597786) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.030305407941341,0.159240737557411,0.095507211983204,-0.064259462058544,-0.052606869488955,-0.049497000873089,0.023620301857591,-0.088816404342651,0.151595309376717,-0.040991012006998,-0.049136228859425,-0.093265891075134,-0.071659632027149,-0.009854746051133,-0.082134909927845,-0.061640787869692) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.168728485703468,-0.252227574586868,0.048749331384897,-0.056687310338020,0.048626370728016,0.070659041404724,-0.067720457911491,-0.176225557923317,0.010602202266455,0.051703535020351,0.086553059518337,0.079720765352249,-0.016169425100088,-0.022540103644133,0.033048469573259,0.007478761486709) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.042269591242075,0.190940573811531,0.010181560181081,0.108642026782036,0.054019469767809,-0.288863986730576,0.270535230636597,-0.354668051004410,0.148236423730850,-0.041866715997458,-0.068319261074066,0.024970756843686,0.008109341375530,-0.223959848284721,0.104558281600475,-0.014708817005157) * MODEL2_texOff(vec2(0,0));
res += mat4(0.000780502101406,0.570861518383026,-0.001977729843929,-0.013897286728024,0.044764954596758,0.087692208588123,-0.044929616153240,0.093777835369110,0.107044495642185,0.029115233570337,-0.059226375073195,-0.130647599697113,-0.078580662608147,-0.179476916790009,-0.061854198575020,-0.095814093947411) * MODEL2_texOff(vec2(0,1));
res += mat4(0.053678125143051,-0.180263459682465,-0.008024147711694,0.060005489736795,-0.024302292615175,-0.001196118653752,-0.060837756842375,-0.233273640275002,0.071538962423801,-0.041194651275873,0.036833863705397,0.032887946814299,0.040105015039444,-0.026560774073005,-0.014454912394285,-0.089081145823002) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.003848293097690,-0.082140289247036,-0.008502695709467,-0.101790644228458,-0.117957860231400,-0.157580465078354,-0.117233589291573,-0.145618110895157,-0.016865968704224,-0.081829860806465,0.011060205288231,0.004281278233975,0.048265472054482,-0.092570684850216,0.079980231821537,-0.009842454455793) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.035098232328892,-0.343316227197647,-0.016286127269268,-0.011903910897672,-0.105057515203953,-0.035699870437384,0.129775285720825,0.039579689502716,-0.018075179308653,0.008711926639080,-0.049120537936687,-0.059362579137087,-0.100741945207119,-0.053408708423376,-0.113053128123283,-0.081682667136192) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.061692103743553,0.023937625810504,0.015420713461936,-0.021745942533016,-0.005129499360919,-0.013105222024024,-0.097790226340294,-0.149118378758430,0.017987398430705,-0.033565901219845,-0.053740054368973,0.001939074601978,-0.015328772366047,0.060616735368967,0.016007380560040,0.021993570029736) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.046877861022949,-0.029409928247333,0.036363914608955,0.127192050218582,0.036152012646198,0.044238138943911,-0.120463855564594,-0.037995480000973,-0.016114262863994,-0.098692193627357,0.101812832057476,-0.022997649386525,0.021399844437838,0.041086353361607,-0.100619964301586,-0.153127491474152) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.062228098511696,-0.015748716890812,-0.011820879764855,0.075143463909626,-0.053408734500408,-0.007101432420313,0.055072013288736,0.271497726440430,0.055287260562181,0.025098575279117,-0.009417829103768,-0.165454357862473,-0.003914595115930,0.097882144153118,0.103509783744812,-0.108173169195652) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.034308753907681,0.017424644902349,0.041868310421705,0.100909754633904,-0.032785926014185,-0.097361467778683,-0.043824486434460,-0.188532799482346,-0.073987342417240,0.091799810528755,-0.036789171397686,-0.106619067490101,0.043371271342039,0.143432468175888,0.157941132783890,0.063078358769417) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.161964178085327,0.090624950826168,0.090687170624733,0.162337958812714,0.008744453079998,-0.111110769212246,-0.226954460144043,-0.439559191465378,0.001736383652315,-0.118370272219181,0.093653909862041,0.028313478454947,0.070675186812878,-0.066195778548717,0.098700448870659,-0.059060964733362) * MODEL3_texOff(vec2(0,0));
res += mat4(0.117367349565029,0.037051405757666,0.033047631382942,-0.027568427845836,0.259420394897461,0.002508674981073,-0.119872808456421,0.019631464034319,0.000632996961940,0.093288764357567,0.044706776738167,0.080182902514935,0.040507800877094,0.163709327578545,0.119849078357220,-0.063912898302078) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.013303228653967,0.043930634856224,0.045415800064802,0.165768653154373,0.009786741808057,0.073626086115837,0.044442974030972,0.108502164483070,0.005209940019995,-0.025940945371985,-0.055552460253239,-0.072996698319912,-0.011566884815693,-0.029962206259370,0.085527651011944,0.117933817207813) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.043262027204037,0.039637617766857,0.101324535906315,0.006673248484731,0.110452957451344,0.106891766190529,-0.051996111869812,-0.078219659626484,0.046242967247963,-0.018706325441599,0.039045538753271,0.043886940926313,0.122501470148563,0.049357227981091,-0.088892079889774,-0.123188622295856) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.016677176579833,0.095552511513233,-0.060526385903358,-0.148238882422447,-0.041960500180721,-0.142022907733917,-0.009153322316706,-0.013952624984086,-0.014811460860074,-0.029541939496994,0.141566768288612,0.014258588664234,0.069643028080463,0.016111779958010,0.040140785276890,0.003064520657063) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.141121447086334,0.069007508456707,-0.167638614773750,-0.067952618002892,-0.013300262391567,0.050193622708321,-0.029257766902447,-0.012290025129914,0.011332634836435,0.023307988420129,-0.197931185364723,0.055028043687344,-0.030745452269912,-0.059310834854841,-0.044980660080910,0.066765964031219) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.284552097320557,0.017199136316776,0.144083529710770,0.193739309906960,-0.009456794708967,-0.021658757701516,0.338947415351868,0.000221581809456,-0.103871598839760,0.127721354365349,-0.148822665214539,-0.203333541750908,-0.165592804551125,-0.042997267097235,-0.080222673714161,0.156393930315971) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.165433004498482,0.003450569696724,-0.194205641746521,-0.021527992561460,0.045377422124147,-0.115012958645821,-0.007777129765600,-0.051406078040600,-0.014239931479096,-0.011140963993967,0.015601663850248,0.036686338484287,-0.012114731594920,0.017874712124467,-0.080772660672665,-0.075835108757019) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.072574973106384,0.089362382888794,0.139346122741699,-0.148072257637978,-0.185018703341484,-0.251118749380112,0.009856257587671,-0.009022387675941,0.171781048178673,0.030099628493190,-0.009934423491359,-0.129356488585472,-0.013970275409520,0.030925519764423,-0.026199057698250,0.087494485080242) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.240580990910530,-0.139994457364082,0.115229986608028,-0.069314621388912,-0.031444981694221,-0.458451867103577,-0.163753867149353,0.067499823868275,0.204611793160439,0.262395918369293,0.220089942216873,0.109226964414120,0.090204209089279,0.040894418954849,0.006409873254597,0.142555341124535) * MODEL4_texOff(vec2(0,0));
res += mat4(0.178616598248482,0.023278467357159,0.051113944500685,0.156852945685387,0.387204617261887,-0.298427850008011,-0.141640737652779,-0.020030084997416,-0.341128677129745,-0.149000987410545,0.175170361995697,-0.089301399886608,0.072329871356487,-0.083021484315395,0.034501165151596,0.061141628772020) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.000953493756242,-0.078525170683861,-0.195269793272018,-0.011666718870401,-0.063328407704830,-0.117664873600006,0.127732351422310,0.068279899656773,0.050423648208380,-0.037390604615211,-0.026853883638978,0.023334665223956,0.027464926242828,0.051082443445921,-0.028539637103677,-0.154789686203003) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.102576956152916,-0.050015747547150,0.113335356116295,-0.106666475534439,-0.083097122609615,-0.255897670984268,0.006985569838434,-0.020135385915637,-0.057715456932783,-0.008502406999469,0.260742276906967,0.026667926460505,-0.061384484171867,-0.043524961918592,0.173353210091591,-0.124763786792755) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.002311360090971,-0.020697003230453,0.032248131930828,-0.017407406121492,0.060503784567118,-0.252020001411438,0.059393148869276,0.037035357207060,-0.028448816388845,-0.016640558838844,0.041711572557688,0.083251044154167,0.045109901577234,-0.118181414902210,-0.068342544138432,-0.027949199080467) * MODEL4_texOff(vec2(1,1));
res += mat4(0.015158298425376,-0.008379282429814,-0.106511309742928,0.194762140512466,0.101995624601841,0.056166280061007,-0.138407751917839,-0.322873175144196,0.023425837978721,-0.032979138195515,-0.030377674847841,-0.136750042438507,-0.008014492690563,0.039663195610046,0.132390111684799,-0.216599419713020) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.013210563920438,0.111949108541012,-0.031410574913025,0.229053333401680,0.007513113785535,-0.225575760006905,-0.051897265017033,0.223478451371193,-0.089717790484428,-0.063698604702950,-0.054072175174952,0.028004657477140,-0.036889873445034,-0.034776516258717,0.098925545811653,-0.449676781892776) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.036470495164394,0.077008083462715,0.012925738468766,-0.101382330060005,0.027893971651793,-0.026198294013739,-0.168317824602127,0.058886937797070,0.012431392446160,0.020171169191599,0.091621838510036,0.173836767673492,0.035293776541948,0.057488556951284,-0.042495071887970,-0.022026924416423) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.060314372181892,-0.108637884259224,-0.054227422922850,-0.053146094083786,0.096638567745686,-0.244624659419060,0.066023431718349,-0.157235696911812,-0.123911291360855,-0.029785636812449,0.014242646284401,-0.057519260793924,0.043586768209934,0.055903613567352,0.018623737618327,-0.235442519187927) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.059697836637497,0.165063500404358,0.139526337385178,0.193708017468452,-0.194713279604912,-0.393154293298721,-0.052857205271721,-0.055278796702623,0.030005361884832,-0.037480618804693,-0.005676717497408,0.019862188026309,-0.109172284603119,0.090483747422695,-0.017572073265910,-0.247139990329742) * MODEL5_texOff(vec2(0,0));
res += mat4(0.131049692630768,0.191210910677910,-0.006636046338826,0.016324976459146,0.210790663957596,0.038359392434359,-0.055566802620888,0.045384183526039,0.085511684417725,0.030021779239178,0.052229803055525,-0.123039916157722,-0.221017226576805,-0.013739307411015,0.119982838630676,-0.072038494050503) * MODEL5_texOff(vec2(0,1));
res += mat4(0.050090800970793,-0.083702176809311,0.013483196496964,-0.276859968900681,0.038275454193354,-0.072961390018463,0.040083002299070,0.056814175099134,0.013240380212665,-0.034213047474623,0.019103752449155,0.209382086992264,-0.016947181895375,0.036891739815474,0.032740633934736,0.355627804994583) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.240786254405975,-0.185987800359726,-0.073066264390945,-0.151320606470108,-0.104599215090275,-0.015797611325979,-0.080063030123711,-0.059478521347046,-0.002145806327462,0.128046646714211,-0.022263325750828,-0.028900386765599,0.100708574056625,0.170136287808418,0.010683313943446,0.176933631300926) * MODEL5_texOff(vec2(1,0));
res += mat4(0.349452883005142,-0.073975056409836,-0.138711869716644,0.126867875456810,0.011729673482478,0.006211319938302,0.000669078959618,0.005238667130470,-0.073493242263794,0.027296118438244,0.027429325506091,-0.136540710926056,0.058017536997795,0.086206346750259,0.049982167780399,-0.064727105200291) * MODEL5_texOff(vec2(1,1));
res += mat4(0.084619946777821,0.109384350478649,0.415727525949478,-0.045667648315430,-0.052122253924608,0.014447295106947,-0.102948904037476,-0.017773300409317,-0.083606630563736,-0.059590749442577,-0.040200483053923,0.003083626972511,-0.056324601173401,-0.015537281520665,0.064167864620686,-0.012891453690827) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.206626415252686,0.097333319485188,0.273953109979630,0.009844101965427,-0.012488259933889,0.044827505946159,-0.028032813221216,0.199778810143471,-0.015626352280378,-0.092203922569752,0.043165922164917,-0.061612904071808,0.090334117412567,-0.028920652344823,0.239275813102722,-0.016224741935730) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.006026506423950,-0.012987552210689,-0.143104881048203,0.037389770150185,-0.116883166134357,0.013786456547678,-0.093168184161186,0.251152932643890,0.094655178487301,0.044110078364611,-0.016539329662919,0.060846228152514,0.060480419546366,0.058121837675571,0.078707985579967,0.111495278775692) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.172276169061661,-0.125976279377937,-0.130277425050735,-0.023615777492523,0.025496890768409,0.194706827402115,0.042428437620401,-0.292982250452042,-0.015484830364585,-0.027890874072909,0.092823021113873,-0.086344800889492,-0.046603675931692,0.047597128897905,0.184851780533791,-0.014971952885389) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.369270890951157,0.003772842232138,0.131841421127319,-0.156030863523483,-0.208285242319107,-0.308401167392731,0.013700037263334,0.178240150213242,-0.176939293742180,0.019031153991818,0.136100307106972,-0.133224457502365,-0.104082241654396,-0.150115787982941,-0.138225987553596,-0.219617769122124) * MODEL6_texOff(vec2(0,0));
res += mat4(0.047475907951593,0.025550814345479,-0.027984535321593,0.037096645683050,0.237716510891914,0.151716724038124,-0.015317822806537,0.107063978910446,0.168420642614365,0.073227502405643,-0.082285560667515,0.126047998666763,0.093886606395245,0.010281762108207,0.226934328675270,0.272280931472778) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.011185330338776,0.054328799247742,-0.137020915746689,0.156601265072823,-0.034177556633949,-0.027607411146164,0.073814369738102,-0.204455837607384,0.063145555555820,0.010211708955467,-0.030618777498603,0.052578356117010,-0.049848623573780,0.161313235759735,0.000838298350573,0.184912502765656) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.129869639873505,-0.003171608783305,-0.014774007722735,-0.028777554631233,-0.136111453175545,0.059178713709116,0.043536841869354,-0.122839115560055,-0.007101113442332,-0.062869384884834,-0.060911618173122,-0.073695734143257,-0.091929011046886,0.089888945221901,0.160467237234116,-0.046810846775770) * MODEL6_texOff(vec2(1,0));
res += mat4(0.024700984358788,0.005504502914846,-0.036138456314802,-0.064161568880081,0.067705713212490,0.029860381036997,-0.050919994711876,0.080253422260284,0.130913153290749,0.038288932293653,0.015666889026761,0.092372246086597,0.002070628572255,0.103609628975391,0.156736761331558,-0.054268680512905) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.437587618827820,-0.042862545698881,0.019133809953928,-0.208920866250992) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL8
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 2_2

vec4 hook()
{
vec4 res = vec4(-0.038562208414078,-0.052730474621058,0.041238039731979,0.011864111758769);
res += mat4(0.034554485231638,0.003903722856194,0.184695959091187,-0.159112200140953,0.006989266257733,0.096299208700657,-0.145863637328148,-0.114402703940868,0.062721207737923,-0.004498164169490,0.048691779375076,-0.019928278401494,-0.077548839151859,-0.131532028317451,-0.127387329936028,-0.131091594696045) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.101789638400078,0.027121772989631,0.185920506715775,-0.001390583463944,-0.146178975701332,-0.098053991794586,-0.056173466145992,0.028728250414133,0.051326196640730,0.053939789533615,-0.004027153830975,0.089799314737320,0.002426590537652,0.078002728521824,-0.100020274519920,-0.061017088592052) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.058131158351898,0.033126994967461,0.065607927739620,-0.036808788776398,0.066363006830215,-0.042556721717119,-0.024348398670554,0.003607785562053,-0.113087952136993,0.034713573753834,0.023710332810879,-0.165464758872986,-0.126732140779495,-0.109359979629517,0.029139647260308,0.085860028862953) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.066003777086735,-0.083109237253666,-0.006183246150613,-0.032138798385859,-0.088033936917782,-0.024866437539458,0.056236211210489,0.001858263276517,0.128643944859505,0.039512872695923,-0.122230663895607,0.008170211687684,0.046940259635448,-0.214474797248840,0.026166873052716,-0.091694563627243) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.008394064381719,-0.087753616273403,0.035965643823147,0.136501997709274,-0.035996649414301,-0.241197794675827,0.240587398409843,-0.146222412586212,-0.364393889904022,-0.079863980412483,0.096725746989250,-0.021835740655661,0.075069867074490,0.076445870101452,0.063156723976135,-0.081543296575546) * MODEL1_texOff(vec2(0,0));
res += mat4(0.089479379355907,-0.278957217931747,-0.009698972105980,0.040031291544437,-0.008913927711546,-0.058496013283730,-0.046116873621941,0.020446792244911,0.195139124989510,0.188328891992569,-0.014362799935043,-0.015461605973542,-0.039476867765188,-0.023631557822227,0.019870528951287,0.054066013544798) * MODEL1_texOff(vec2(0,1));
res += mat4(0.050224475562572,0.010583932511508,-0.183323889970779,-0.057558175176382,-0.033003032207489,0.021216237917542,0.290642172098160,-0.000663297425490,-0.187232851982117,-0.032185051590204,0.033361338078976,-0.171494588255882,0.130984559655190,-0.064129717648029,0.107128687202930,0.092204742133617) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.073786348104477,0.017451437190175,-0.164716914296150,0.091531343758106,0.000324852066115,-0.035062279552221,0.114734515547752,-0.061060033738613,0.066135607659817,0.110862724483013,-0.004777038469911,0.081897705793381,0.052578270435333,-0.049428358674049,-0.004565671086311,0.117172598838806) * MODEL1_texOff(vec2(1,0));
res += mat4(0.043248578906059,-0.076164700090885,-0.002088021254167,0.054370485246181,-0.042865648865700,-0.047594990581274,0.031729806214571,0.050699397921562,0.015355902723968,-0.165477037429810,-0.055426500737667,-0.106452666223049,-0.018291836604476,0.005307852290571,0.019020337611437,0.116061262786388) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.027522472664714,-0.166360169649124,0.007750307209790,0.016403010115027,-0.037499975413084,0.013467426411808,-0.039651397615671,-0.093406438827515,-0.062243495136499,0.013644032180309,0.000209388686926,-0.266991019248962,0.087501205503941,0.048966124653816,-0.013303307816386,0.015437941998243) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.070872537791729,-0.043176844716072,0.021186195313931,-0.107593663036823,0.051235124468803,0.008690125308931,-0.046752940863371,0.023965749889612,-0.093963451683521,-0.111312918365002,0.009436027146876,0.004575472325087,0.035987038165331,0.179843440651894,0.030780809000134,0.097161792218685) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.123783186078072,0.151584282517433,-0.001017167232931,-0.006720039527863,0.033876016736031,-0.066394038498402,-0.022928897291422,0.003763065673411,0.053935285657644,-0.164765685796738,0.107571765780449,0.019101036712527,-0.081928335130215,0.207136943936348,-0.011098281480372,0.004510040394962) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.094076953828335,0.034920927137136,-0.067505329847336,-0.067744255065918,0.099773995578289,0.008115226402879,-0.076400965452194,-0.131126999855042,0.131013020873070,0.116213664412498,-0.089920051395893,-0.082472205162048,-0.073596052825451,-0.040061373263597,0.026321664452553,0.081966154277325) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.042684689164162,-0.070805087685585,0.004992689006031,0.040774192661047,0.059358872473240,0.117523446679115,0.069588549435139,0.023217689245939,0.085803814232349,0.014318373985589,-0.018847104161978,-0.011175900697708,-0.140684857964516,0.005513526499271,0.188312858343124,-0.036099079996347) * MODEL2_texOff(vec2(0,0));
res += mat4(0.030455736443400,-0.077173590660095,0.013984647579491,-0.088193401694298,0.135314419865608,-0.112333551049232,0.009039112366736,-0.012676901184022,0.132305666804314,-0.072416909039021,-0.172449693083763,0.047702368348837,-0.362695306539536,-0.076492391526699,0.109762564301491,-0.033030837774277) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.054059598594904,0.174053698778152,0.037579238414764,-0.069605208933353,0.053053300827742,0.060033880174160,-0.008792173117399,0.085971347987652,-0.053241662681103,-0.001301257871091,-0.040885936468840,-0.076818190515041,-0.067383922636509,0.077255018055439,0.011526763439178,0.030360428616405) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.017378406599164,-0.100815683603287,-0.104262590408325,-0.017117114737630,0.076425977051258,0.002094220602885,-0.174081176519394,-0.005712194833905,-0.157370939850807,0.116436168551445,-0.024630097672343,-0.010838623158634,-0.055925823748112,0.230786442756653,-0.052311558276415,0.085182175040245) * MODEL2_texOff(vec2(1,0));
res += mat4(0.172461420297623,0.323678433895111,0.057952947914600,0.037384234368801,0.157789513468742,-0.062106084078550,-0.008042826317251,0.009076188318431,-0.062615334987640,0.011416836641729,0.091004662215710,-0.076431065797806,-0.204925075173378,-0.107332780957222,-0.062174465507269,-0.048740305006504) * MODEL2_texOff(vec2(1,1));
res += mat4(0.024821935221553,-0.092581182718277,-0.104557953774929,0.001955094747245,-0.179181739687920,-0.053737223148346,0.002430825727060,0.002491674385965,-0.020043926313519,0.010125495493412,0.076842203736305,-0.042043376713991,-0.016543516889215,0.008061091415584,-0.015927722677588,-0.214796662330627) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.115990988910198,-0.070646122097969,0.065321601927280,0.004472825676203,-0.113556124269962,-0.071164026856422,0.027112083509564,0.006924412678927,0.050845202058554,-0.006310893222690,0.059237793087959,0.088386721909046,-0.190571531653404,-0.119788706302643,-0.029779646545649,-0.173687875270844) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.057868335396051,-0.069311685860157,0.017973337322474,0.077056989073753,-0.018001705408096,-0.009187595918775,0.024306574836373,-0.068560719490051,-0.017524689435959,-0.056517671793699,-0.023661822080612,-0.073559328913689,0.065758183598518,-0.170734494924545,-0.036412492394447,0.083619564771652) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.114690512418747,0.070294514298439,-0.026867618784308,-0.012084324844182,-0.135494276881218,-0.166383102536201,0.021505584940314,-0.222430929541588,0.020108409225941,-0.062074080109596,-0.054820973426104,-0.028868870809674,0.038211621344090,0.023156227543950,-0.072629414498806,0.011346880346537) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.079004622995853,0.058600299060345,0.031711891293526,0.045005012303591,0.095952942967415,-0.111566416919231,0.158357903361320,-0.026794089004397,-0.092074200510979,-0.124613381922245,0.071907930076122,0.103832587599754,0.082464344799519,0.164790153503418,-0.019736103713512,-0.034481454640627) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.063227951526642,-0.079335458576679,-0.126912057399750,0.192221030592918,0.091643996536732,0.145286500453949,-0.044661331921816,-0.050850577652454,0.035125121474266,-0.023278530687094,-0.067926391959190,0.037678491324186,0.229802370071411,0.006669722963125,-0.069504790008068,-0.010720880702138) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.049431987106800,0.098244257271290,-0.103843674063683,-0.083796158432961,-0.149431824684143,-0.099073372781277,-0.310185611248016,-0.095501735806465,0.016660524532199,-0.011031005531549,-0.007468540221453,-0.124385789036751,-0.059305287897587,-0.047881811857224,-0.052742257714272,-0.026478826999664) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.056156303733587,0.123842284083366,0.017802493646741,0.043162565678358,0.101022332906723,0.038525540381670,-1.032292604446411,-0.095625251531601,-0.087165854871273,-0.079963825643063,0.007891131564975,0.155999019742012,-0.097666546702385,0.036164805293083,-0.042500652372837,0.000211142541957) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.019535250961781,0.000089705943537,-0.065162658691406,0.039193809032440,0.011085880920291,0.098841302096844,0.054733410477638,0.007396583911031,0.036351859569550,0.090570896863937,0.077876292169094,0.019615797325969,0.262294024229050,-0.052134394645691,-0.015928173437715,0.064708605408669) * MODEL3_texOff(vec2(1,1));
res += mat4(0.137969762086868,-0.097558073699474,0.067522853612900,-0.014447869732976,-0.087669290602207,-0.046814665198326,0.047396782785654,0.033372927457094,-0.192951098084450,-0.040385656058788,-0.037474770098925,-0.104811012744904,0.164191484451294,0.040474481880665,0.000878860650118,-0.037453468888998) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.175935193896294,-0.069674134254456,-0.119528464972973,-0.193302229046822,-0.058212038129568,0.164736643433571,0.060896661132574,-0.178900420665741,0.107496105134487,0.076503306627274,-0.088714718818665,0.349079310894012,-0.069379933178425,-0.172815814614296,-0.108578458428383,-0.041610173881054) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.059407711029053,0.163155227899551,0.075372345745564,0.156855344772339,-0.179384902119637,0.027640681713820,0.009262461215258,-0.049244504421949,0.047315806150436,-0.100872859358788,-0.008930788375437,-0.051075283437967,0.139316067099571,-0.005243776366115,0.057192716747522,-0.072904363274574) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.036672376096249,0.044090904295444,-0.127225786447525,-0.205147355794907,-0.124222964048386,-0.110930673778057,-0.047375965863466,-0.148185089230537,0.161543861031532,-0.024284087121487,0.002425725338981,0.308780491352081,-0.053405005484819,-0.120453536510468,0.094734989106655,-0.047717835754156) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.206158965826035,0.037939291447401,0.282060712575912,0.400322705507278,-0.115730553865433,0.056954782456160,-0.059197846800089,-0.098042882978916,0.089378014206886,-0.284865945577621,-0.214703425765038,-0.029353680089116,0.111825205385685,-0.012748636305332,0.171167671680450,-0.010360218584538) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.064930163323879,-0.170174226164818,-0.015120527707040,-0.167965695261955,-0.185534015297890,0.160497650504112,-0.036990467458963,0.025862539187074,-0.078022845089436,0.085926286876202,0.073309332132339,0.338228851556778,0.161100044846535,-0.049848649650812,-0.070134751498699,-0.022450365126133) * MODEL4_texOff(vec2(0,1));
res += mat4(0.016589496284723,-0.130294501781464,0.051057919859886,0.125035881996155,-0.059996943920851,-0.022310692816973,0.069076031446457,0.101606659591198,0.094229824841022,0.158430650830269,0.087483599781990,-0.084510996937752,-0.091521233320236,-0.176861599087715,-0.305925011634827,0.027700023725629) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.133621275424957,-0.076633341610432,-0.269714325666428,-0.014892310835421,-0.229395419359207,0.101666897535324,-0.024240188300610,0.033185500651598,-0.103731796145439,0.084715329110622,0.323983192443848,0.473616510629654,-0.082103379070759,0.076713763177395,0.131887242197990,-0.031079567968845) * MODEL4_texOff(vec2(1,0));
res += mat4(0.092451654374599,0.129801303148270,-0.013527860864997,-0.032251499593258,-0.073332130908966,-0.133546382188797,0.011245833709836,0.092082157731056,0.050719849765301,0.063704974949360,-0.022457377985120,-0.114680916070938,0.010329667478800,-0.159981444478035,0.024273090064526,-0.066038325428963) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.051833022385836,-0.039380773901939,0.046766400337219,0.061701439321041,-0.095463819801807,0.021394906565547,-0.029251396656036,0.016078604385257,0.055622968822718,-0.017344210296869,-0.005758178420365,0.026375805959105,0.054678190499544,0.024317815899849,-0.039845474064350,-0.179758042097092) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.002541308058426,-0.029173022136092,-0.007286685984582,0.002804679097608,-0.267004638910294,0.049284491688013,0.002355315489694,-0.115753225982189,-0.004574854392558,-0.119578853249550,-0.028937891125679,0.039451397955418,0.257784754037857,-0.121263094246387,-0.058397330343723,-0.038601178675890) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.040191803127527,-0.026646472513676,-0.064408682286739,0.111302658915520,0.016866583377123,0.043742507696152,0.031366508454084,-0.032154899090528,-0.013561467640102,0.054862674325705,0.024396089836955,0.084357403218746,0.326255708932877,0.027695093303919,0.013063522987068,0.006323418114334) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.096347875893116,0.102615594863892,0.080960161983967,-0.030395217239857,-0.094415985047817,-0.007505553774536,0.260533750057220,-0.084857344627380,-0.108628660440445,0.049082804471254,-0.036540530622005,0.077829636633396,0.194913789629936,0.159606784582138,0.047241952270269,-0.174166589975357) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.090857058763504,-0.198235481977463,-0.170037269592285,-0.242708548903465,0.069649875164032,-0.080686792731285,0.277229785919189,0.150306612253189,-0.080884426832199,0.067706599831581,-0.020261079072952,-0.170797824859619,-0.019959874451160,-0.224884197115898,-0.233668088912964,0.140422180294991) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.065159566700459,-0.034868735820055,-0.172430723905563,-0.177400633692741,0.082559466362000,0.044914759695530,0.004520073533058,0.022430373355746,0.125462785363197,0.033161077648401,-0.119886994361877,0.121582888066769,0.041501678526402,0.101075813174248,0.091354832053185,0.021700968965888) * MODEL5_texOff(vec2(0,1));
res += mat4(0.049928970634937,-0.137856721878052,-0.046637140214443,-0.044690228998661,0.033594768494368,0.046901073306799,0.025867944583297,-0.071302995085716,0.015533845871687,0.024804057553411,-0.033631339669228,0.031347192823887,0.073960684239864,0.109142869710922,0.152573496103287,-0.093377441167831) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.104168526828289,0.088158175349236,0.132181346416473,0.190061688423157,-0.157616630196571,-0.018634552136064,-0.143223553895950,0.066183619201183,0.013541361317039,0.114959083497524,0.017825016751885,-0.056016013026237,0.086498863995075,0.195335820317268,-0.180888503789902,-0.009639723226428) * MODEL5_texOff(vec2(1,0));
res += mat4(0.128832489252090,-0.097301170229912,0.227152273058891,-0.007085632067174,0.039337471127510,0.011587084271014,-0.021099284291267,-0.061695106327534,-0.058630470186472,0.016239643096924,0.044104952365160,0.024140411987901,0.093510970473289,0.067785188555717,0.005186351016164,-0.000811034755316) * MODEL5_texOff(vec2(1,1));
res += mat4(0.014499547891319,0.304261744022369,0.092341959476471,-0.127481207251549,0.010957995429635,-0.029054364189506,0.038947861641645,-0.098362796008587,-0.040066353976727,-0.036251787096262,0.104536674916744,-0.032857753336430,-0.087262474000454,-0.059522360563278,0.029331561177969,-0.172503039240837) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.058964949101210,0.267356991767883,-0.087845094501972,-0.057292625308037,-0.014344032853842,0.042995184659958,0.094417661428452,-0.074418939650059,-0.133421510457993,-0.000562410918064,0.024371514096856,-0.067166417837143,-0.062179539352655,-0.082814835011959,-0.000025012257538,-0.033482816070318) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.004552250728011,0.027825186029077,0.027898928150535,-0.091881334781647,-0.016882615163922,-0.120704449713230,0.050895567983389,-0.071220360696316,-0.101222850382328,-0.027676571160555,0.129438593983650,-0.115565344691277,0.052514337003231,0.034017402678728,-0.058830097317696,-0.025054650381207) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.172514319419861,-0.048345152288675,-0.278949111700058,-0.209549054503441,0.038091387599707,0.066233247518539,-0.117676019668579,-0.077832967042923,-0.031533651053905,-0.100540645420551,0.016354672610760,-0.019543316215277,-0.102214671671391,0.028494650498033,0.074864059686661,0.085115432739258) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.209625720977783,0.262348443269730,0.003296777838841,0.156034633517265,-0.059570219367743,-0.014370201155543,-0.026012860238552,0.064816892147064,-0.051930356770754,0.004408078733832,0.113382332026958,0.412139594554901,-0.049955185502768,0.161085560917854,-0.049994032830000,0.332409530878067) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.007764612324536,-0.029911408200860,0.027063816785812,-0.011825579218566,0.025619357824326,0.074618108570576,-0.004121067002416,0.009326078929007,0.016740223392844,-0.102404184639454,-0.092803023755550,0.028686566278338,-0.023284947499633,0.031676363199949,0.053995214402676,0.115606538951397) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.099857166409492,0.016764780506492,0.157840609550476,0.039709147065878,0.013956345617771,0.043878376483917,0.006685433909297,0.003329141996801,0.117826446890831,-0.094740517437458,-0.048244722187519,-0.021659296005964,0.040900383144617,0.070746690034866,-0.067666895687580,0.009790160693228) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.070863179862499,0.018450563773513,-0.012171555310488,-0.031365081667900,-0.041622631251812,-0.038382403552532,0.018560197204351,0.021554565057158,-0.112720094621181,0.180616840720177,-0.051243644207716,-0.019515957683325,-0.123032338917255,0.038381032645702,-0.054343909025192,0.050437714904547) * MODEL6_texOff(vec2(1,0));
res += mat4(0.003784718923271,-0.072371780872345,-0.043558459728956,0.004758167080581,0.108337871730328,0.178490445017815,0.046963140368462,-0.006204936653376,0.079011194407940,-0.098475493490696,-0.062206223607063,0.031076248735189,-0.002124484395608,-0.102977089583874,0.191556245088577,0.046855997294188) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.213285237550735,0.589818298816681,-0.248229280114174,0.284855574369431) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL9
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 2_3

vec4 hook()
{
vec4 res = vec4(-0.625957012176514,0.113645166158676,0.013814968056977,-0.060825269669294);
res += mat4(-0.131896734237671,-0.068125247955322,-0.126411765813828,0.029594086110592,-0.033213075250387,0.105369836091995,-0.059049110859632,0.019629638642073,-0.117327459156513,-0.094433017075062,0.228733345866203,-0.056730549782515,0.095407672226429,-0.076163023710251,0.094167023897171,0.046646662056446) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.281826287508011,-0.062706306576729,0.012759905308485,0.048029322177172,0.166335642337799,-0.091952882707119,-0.275562554597855,-0.148212224245071,0.072396844625473,-0.090743966400623,0.011369742453098,0.032982155680656,0.047317720949650,-0.034342542290688,0.123413018882275,0.039886083453894) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.050663430243731,0.054483495652676,0.084201261401176,0.122446313500404,0.088345095515251,-0.044798817485571,-0.163053393363953,0.082390032708645,-0.008582317270339,0.093911774456501,-0.147248432040215,0.036599624902010,-0.064791522920132,-0.040482517331839,-0.099170416593552,0.019477257505059) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.258668482303619,0.021212797611952,-0.149209290742874,-0.042630705982447,0.048765979707241,0.002090886700898,-0.330865055322647,-0.081530652940273,0.093417614698410,0.013555246405303,0.005378454923630,0.108383774757385,0.132697775959969,-0.080917455255985,0.044129244983196,0.060978848487139) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.228391513228416,-0.069103814661503,-0.035247616469860,0.087439343333244,0.084919787943363,-0.046942804008722,-0.360890805721283,0.046936232596636,0.064403004944324,0.064518958330154,-0.305597215890884,0.013202033936977,0.011192898266017,-0.014401779510081,-0.076356910169125,0.056768164038658) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.155513778328896,-0.062045633792877,0.090083315968513,0.020606510341167,0.070940583944321,0.028114801272750,0.142773762345314,-0.011112033389509,-0.036579236388206,0.000499642104842,0.022377705201507,-0.003852658905089,0.003185241250321,0.060880731791258,-0.089063458144665,0.023847322911024) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.158953636884689,0.094220928847790,0.118998445570469,-0.032836433500051,-0.003472411073744,-0.045195501297712,0.001254060189240,0.069850772619247,0.082064859569073,0.158296301960945,-0.170172035694122,-0.153618201613426,-0.115050598978996,-0.048270177096128,-0.083465926349163,0.101729847490788) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.049538269639015,-0.076533891260624,0.088663719594479,-0.042181245982647,0.069346174597740,0.008336418308318,0.051439329981804,-0.042168267071247,-0.126414507627487,-0.173725560307503,0.073380440473557,0.066601812839508,-0.048834100365639,0.039997778832912,-0.038427885621786,0.031674530357122) * MODEL1_texOff(vec2(1,0));
res += mat4(0.021828085184097,0.030446428805590,-0.066629014909267,0.061894498765469,0.031773895025253,0.033953566104174,0.162384450435638,-0.006114754360169,-0.000227381737204,0.151586115360260,0.236412152647972,-0.071668341755867,-0.052118148654699,0.001240048906766,-0.019466888159513,0.081518158316612) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.060033462941647,-0.136622026562691,0.132661387324333,0.017007006332278,-0.040419511497021,0.010325941257179,0.085171669721603,-0.122475497424603,-0.002213217783719,-0.055513095110655,0.061084743589163,0.072829283773899,0.015033505856991,-0.268852472305298,0.070117287337780,0.158023253083229) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.068683117628098,-0.290449947118759,-0.175338372588158,0.060303688049316,0.040860317647457,-0.018244588747621,-0.089118167757988,-0.227210313081741,0.163930669426918,-0.061655834317207,0.106042444705963,0.053348973393440,0.084423795342445,-0.177929446101189,0.029419237747788,0.058387465775013) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.339811056852341,-0.246235445141792,0.186911016702652,0.068418033421040,0.043168686330318,-0.038840714842081,-0.136072427034378,-0.170764937996864,0.079359740018845,0.115006558597088,0.027756871655583,0.198685184121132,0.022069321945310,-0.071333304047585,-0.119567699730396,0.242422670125961) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.073823980987072,-0.024056529626250,-0.042621780186892,-0.010062354616821,0.251415342092514,-0.111268065869808,0.051883038133383,-0.232051432132721,0.018306929618120,-0.083737090229988,0.070229873061180,0.146007627248764,0.110468551516533,0.047416895627975,-0.057636644691229,0.024509970098734) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.050746563822031,-0.083438724279404,0.067907355725765,0.181261867284775,-0.010846382938325,-0.077608093619347,-0.195590361952782,-0.306128948926926,0.111293710768223,-0.016623230651021,-0.086083151400089,0.025750402361155,-0.241041004657745,0.128520801663399,-0.080300562083721,0.116400942206383) * MODEL2_texOff(vec2(0,0));
res += mat4(0.698205769062042,0.211141034960747,-0.083097591996193,-0.023066641762853,0.092808991670609,0.116323024034500,-0.061402227729559,-0.144047915935516,-0.000726051745005,0.016938544809818,0.009009708650410,0.000267108523985,-0.114795364439487,-0.087767191231251,-0.018369607627392,0.238115847110748) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.098678112030029,-0.086356140673161,-0.205329656600952,-0.038565821945667,0.171739131212234,0.293739408254623,-0.048775173723698,-0.040882099419832,0.044849660247564,-0.065937697887421,-0.033553466200829,-0.079802729189396,0.064640745520592,-0.181416064500809,-0.095145359635353,-0.078608512878418) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.177488535642624,0.077676028013229,0.090030141174793,-0.161276355385780,0.021078001707792,0.213690593838692,-0.360932320356369,-0.093239270150661,-0.057807039469481,0.010499778203666,0.021535381674767,-0.048598356544971,-0.029220236465335,0.096417605876923,-0.147702381014824,0.060842800885439) * MODEL2_texOff(vec2(1,0));
res += mat4(0.077256582677364,0.024436945095658,-0.181746765971184,-0.066068671643734,-0.024063685908914,0.067326135933399,0.000453931803349,0.174732446670532,-0.003548423293978,0.079685792326927,0.212958753108978,0.026649229228497,0.045500718057156,0.073872268199921,-0.219550386071205,0.226073354482651) * MODEL2_texOff(vec2(1,1));
res += mat4(0.001704153022729,-0.098175257444382,-0.005707174539566,0.053510054945946,0.072277463972569,-0.048439078032970,-0.304904699325562,-0.081628866493702,-0.050823513418436,0.008905710652471,0.247994571924210,-0.046995144337416,0.039037715643644,-0.012478237971663,0.172785013914108,0.001760523300618) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.000318859791150,-0.280071884393692,-0.041466861963272,0.021743407472968,0.110131651163101,0.078688032925129,0.056602951139212,-0.003791850991547,-0.010673807002604,-0.105080097913742,0.235747173428535,-0.066526129841805,0.020967291668057,0.072844460606575,-0.050246834754944,-0.051999844610691) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.060046378523111,-0.151673644781113,-0.078690603375435,-0.042179338634014,-0.040633302181959,-0.098944775760174,0.104545474052429,-0.091573156416416,0.005409440025687,0.057430036365986,-0.408768445253372,-0.046453457325697,-0.019084775820374,-0.008232137188315,-0.210278242826462,-0.188506647944450) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.089173018932343,-0.003944094292819,0.089235141873360,0.116269990801811,-0.079812407493591,-0.242177665233612,-0.114866025745869,-0.049582101404667,0.069893263280392,-0.077495343983173,-0.055259220302105,0.090209409594536,0.057439502328634,-0.198032960295677,0.129728615283966,0.045221235603094) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.130962178111076,-0.035944640636444,0.143931016325951,0.094069965183735,-0.466732770204544,0.075987979769707,0.067955955862999,0.210374698042870,-0.060773350298405,-0.059956345707178,-0.073673963546753,0.085442923009396,0.074792310595512,-0.117413118481636,0.056690864264965,0.087526053190231) * MODEL3_texOff(vec2(0,0));
res += mat4(0.065749257802963,0.014488385990262,0.037968009710312,0.057620692998171,0.035223897546530,0.019941199570894,0.135446697473526,0.112559296190739,0.029370112344623,-0.030159078538418,0.095856301486492,-0.020342323929071,0.110721521079540,0.075655661523342,-0.036894232034683,-0.076889969408512) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.009589177556336,0.061242599040270,0.033523805439472,0.037971395999193,-0.117117762565613,-0.162631705403328,0.106245502829552,0.013533975929022,-0.061274640262127,-0.146770790219307,-0.416975438594818,-0.022243268787861,-0.052726205438375,0.275844305753708,-0.018391991034150,-0.086919426918030) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.026576641947031,-0.016625152900815,0.208203479647636,0.105321772396564,-0.018423575907946,0.012472369708121,0.150364562869072,0.074474669992924,-0.038895051926374,0.149239182472229,-0.039776384830475,-0.130686432123184,0.077184386551380,-0.027404123917222,0.051881685853004,-0.013563394546509) * MODEL3_texOff(vec2(1,0));
res += mat4(0.044434584677219,0.028329048305750,0.081464454531670,0.133751273155212,-0.081384889781475,-0.123294569551945,-0.122429132461548,0.150948002934456,-0.003739877836779,-0.108110114932060,0.230170518159866,0.053420182317495,0.017354447394609,-0.044354569166899,-0.034823253750801,0.080470129847527) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.153967112302780,-0.196470960974693,0.162389531731606,-0.023009624332190,-0.051824435591698,0.014460667967796,0.133489370346069,0.071017719805241,0.035962320864201,0.025853026658297,-0.149918407201767,0.071445412933826,-0.089769907295704,-0.057178240269423,0.148010477423668,-0.071428596973419) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.131064265966415,0.104861386120319,0.199600204825401,-0.040334604680538,-0.288090705871582,-0.145305827260017,-0.106214322149754,-0.025637183338404,0.125332519412041,0.003147664945573,0.064509339630604,0.032753303647041,0.078665152192116,-0.258848935365677,-0.045484121888876,-0.190075099468231) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.080614209175110,-0.120051950216293,-0.220379754900932,-0.009656742215157,-0.152916714549065,0.177353650331497,-0.045960094779730,-0.127204820513725,0.049021605402231,0.005679700057954,0.125730827450752,-0.101456306874752,-0.074125409126282,-0.087595947086811,0.062600597739220,-0.055437278002501) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.227908253669739,0.039018224924803,0.199951916933060,0.021225947886705,-0.249110266566277,-0.094715021550655,-0.106262333691120,0.096234127879143,0.040957503020763,-0.265183299779892,0.127274945378304,-0.009182887151837,-0.061574742197990,0.227050393819809,-0.187705531716347,0.002027229871601) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.194665178656578,-0.035049166530371,-0.164858683943748,0.114275597035885,-0.258620858192444,0.036399986594915,-0.013329884037375,0.020255390554667,0.395029872655869,-0.091964483261108,0.089797183871269,-0.002491420367733,0.036001402884722,-0.161199912428856,-0.100035071372986,0.051629532128572) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.010274003259838,0.037505418062210,-0.107710242271423,-0.033586323261261,-0.214624613523483,-0.197626024484634,0.151024430990219,-0.060252368450165,0.031115436926484,-0.196872279047966,-0.071785926818848,-0.175632447004318,0.018407344818115,0.050797738134861,0.068355575203896,-0.047110561281443) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.201064765453339,-0.040954776108265,-0.232020631432533,-0.009054590016603,-0.069642007350922,0.096890956163406,-0.058576468378305,-0.231018096208572,0.152101442217827,0.080230280756950,-0.057389587163925,0.003347710939124,0.108397610485554,0.028953867033124,-0.148905292153358,-0.193599149584770) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.045017447322607,0.062254484742880,0.024488743394613,-0.174658387899399,-0.243803471326828,0.091840900480747,0.023161331191659,0.008327667601407,-0.089421190321445,0.043924082070589,-0.035194534808397,0.044167276471853,0.070833951234818,0.032921094447374,-0.035315632820129,0.083931572735310) * MODEL4_texOff(vec2(1,0));
res += mat4(0.023177368566394,0.011511313728988,0.091978751122952,0.009829632937908,-0.297061532735825,-0.022629829123616,-0.021801630035043,-0.181410580873489,-0.102685227990150,-0.099089615046978,-0.020012650638819,-0.016816364601254,-0.046107288450003,0.070711620151997,-0.073254890739918,0.002334449673072) * MODEL4_texOff(vec2(1,1));
res += mat4(0.129305914044380,-0.007244415115565,-0.178885683417320,0.145677924156189,0.196635454893112,-0.142187282443047,0.112947791814804,0.147845298051834,-0.028651382774115,0.026691203936934,-0.018708150833845,0.018030615523458,0.092485964298248,-0.134574845433235,-0.040240645408630,-0.295205444097519) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.017483258619905,-0.051367543637753,0.049419604241848,-0.039148274809122,-0.142602220177650,-0.024060763418674,-0.292661517858505,-0.042408775538206,0.055903851985931,-0.024858094751835,0.156836494803429,-0.027960626408458,0.088948175311089,0.285913228988647,0.036818087100983,-0.219748541712761) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.014617446810007,-0.133694171905518,0.142064228653908,0.017595224082470,0.065848164260387,-0.101125165820122,-0.062404476106167,0.035929672420025,-0.059434361755848,-0.165736958384514,0.082415431737900,0.031466819345951,0.090012483298779,-0.154702648520470,0.062643520534039,-0.197510808706284) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.028638502582908,-0.064024455845356,0.005396027583629,-0.085657715797424,-0.078614249825478,-0.027787638828158,-0.342988580465317,0.077286057174206,0.013529711402953,0.108285002410412,0.129841670393944,0.048554796725512,0.007724313065410,-0.166593030095100,-0.095077484846115,-0.088822275400162) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.048624742776155,0.005512177478522,-0.016335317865014,-0.029272187501192,-0.434998780488968,-0.033738281577826,-0.349426150321960,-0.097546033561230,0.031206250190735,0.055696241557598,-0.081780895590782,0.055784549564123,0.067837089300156,0.154360800981522,0.173217624425888,-0.278386831283569) * MODEL5_texOff(vec2(0,0));
res += mat4(0.136640086770058,0.116487905383110,-0.070281937718391,-0.266100078821182,-0.077849395573139,-0.068834580481052,0.086511485278606,0.144408807158470,0.038710542023182,-0.096748068928719,0.034115578979254,0.008269444108009,-0.002991835121065,-0.053467150777578,-0.207026422023773,-0.083889156579971) * MODEL5_texOff(vec2(0,1));
res += mat4(0.137420088052750,-0.068375632166862,0.059742346405983,0.032846394926310,0.017392519861460,-0.021867346018553,-0.215437531471252,0.009169103577733,-0.011997854337096,-0.102843627333641,-0.171904593706131,0.063290581107140,-0.024712515994906,-0.162215203046799,-0.042917404323816,0.074149005115032) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.176231443881989,0.173443987965584,0.206511780619621,0.025005934759974,0.047986857593060,0.049542069435120,0.065194070339203,0.009885678067803,-0.024635402485728,-0.081098698079586,-0.036317363381386,-0.080497138202190,0.141382053494453,0.153422296047211,-0.064716510474682,-0.067394778132439) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.127189218997955,-0.056143503636122,-0.133453905582428,0.141095682978630,-0.027828747406602,-0.060375809669495,0.297779113054276,-0.060658052563667,0.018719490617514,-0.019535169005394,-0.084742248058319,-0.075522132217884,0.070184819400311,-0.005432845093310,-0.013943498954177,0.098195634782314) * MODEL5_texOff(vec2(1,1));
res += mat4(0.081485703587532,0.137215554714203,0.089402720332146,-0.027862394228578,-0.044809248298407,0.064370788633823,-0.134186804294586,0.044089075177908,-0.017713643610477,-0.006137524731457,0.029720336198807,-0.004500276874751,0.058576315641403,-0.064162388443947,0.132879182696342,0.090142816305161) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.052383892238140,0.193875432014465,-0.224103480577469,-0.073005251586437,-0.017640048637986,-0.050431776791811,0.042820625007153,0.002929094480351,-0.012077378109097,-0.036618579179049,-0.167829334735870,0.093433998525143,-0.014544805511832,-0.066200271248817,-0.157904803752899,0.080169036984444) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.055197954177856,-0.024863393977284,-0.027550328522921,-0.000567827373743,-0.100216038525105,0.094908960163593,-0.012175177223980,-0.188775330781937,0.035390585660934,-0.010588205419481,-0.030280735343695,0.096368931233883,-0.020607488229871,0.027095843106508,0.172311693429947,0.018259154632688) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.072748214006424,-0.154761984944344,-0.101840205490589,0.113181859254837,0.182392850518227,-0.043296750634909,-0.016407247632742,-0.017732616513968,-0.030622022226453,-0.092722579836845,0.074377313256264,-0.010199160315096,0.078119128942490,-0.012199085205793,-0.186825215816498,0.075930632650852) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.050587762147188,-0.101498544216156,0.034829653799534,-0.072367914021015,-0.353659391403198,-0.011123800650239,0.106257870793343,0.107259929180145,-0.051366787403822,0.014827696606517,-0.219306871294975,-0.036319330334663,-0.050921943038702,-0.002502600196749,-0.141481205821037,-0.150848418474197) * MODEL6_texOff(vec2(0,0));
res += mat4(0.053921770304441,0.070251770317554,0.028768591582775,0.069126114249229,-0.080016918480396,0.104382231831551,0.119676493108273,0.039856459945440,-0.002469832310453,-0.003380408743396,0.024274699389935,0.052177742123604,-0.019528103992343,-0.075569912791252,0.096217051148415,-0.248836934566498) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.003426472889259,0.060034189373255,0.087961934506893,-0.014418881386518,-0.024277394637465,0.015227887779474,0.054569680243731,0.062455043196678,0.030378149822354,-0.138439625501633,-0.092812076210976,-0.007656326051801,-0.033101484179497,0.124206088483334,0.047299098223448,-0.104497455060482) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.040428519248962,-0.051783412694931,-0.045272212475538,-0.075227521359921,-0.093666397035122,0.049202546477318,-0.047696784138680,-0.124782368540764,0.074954353272915,0.055094610899687,-0.092178009450436,0.063737824559212,0.068596251308918,0.267535477876663,0.217667460441589,0.031417459249496) * MODEL6_texOff(vec2(1,0));
res += mat4(0.047987446188927,0.039227429777384,0.032699186354876,0.139920353889465,-0.058016229420900,0.040393665432930,0.058287020772696,-0.059764340519905,0.090266816318035,-0.064407594501972,0.050050184130669,0.018942357972264,0.084469884634018,0.038491703569889,-0.043485794216394,-0.047405943274498) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.001972650876269,0.436769515275955,-0.261586785316467,0.206430628895760) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL10
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 2_4

vec4 hook()
{
vec4 res = vec4(-0.261775314807892,0.186395436525345,0.207076609134674,-0.133819058537483);
res += mat4(0.085681930184364,-0.006038323044777,-0.108002521097660,-0.143801450729370,0.209709152579308,0.035699065774679,0.074670046567917,-0.063976332545280,0.172729268670082,0.072423420846462,-0.114784561097622,0.048214733600616,-0.023056166246533,-0.132880777120590,0.008913429453969,0.190066263079643) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.040109790861607,0.000196535882424,-0.003094076877460,0.048991750925779,0.109216839075089,-0.188911467790604,-0.096581295132637,0.164049193263054,0.063258923590183,-0.061459805816412,0.005444053094834,0.040358394384384,-0.001654092455283,0.033053949475288,-0.041690669953823,0.198242768645287) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.026711583137512,-0.016461569815874,-0.014462943188846,-0.118311353027821,0.091984383761883,-0.165704295039177,-0.108421057462692,0.037223577499390,-0.077679581940174,0.128664836287498,-0.030194243416190,-0.073501303792000,0.094584926962852,-0.075617685914040,0.023841826245189,0.041825678199530) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.062902040779591,-0.042417235672474,-0.006708407308906,0.101811915636063,0.060221541672945,0.093869596719742,0.092656709253788,0.131843566894531,-0.006962824147195,0.089763574302197,0.128314137458801,-0.086051777005196,-0.107991874217987,-0.097095921635628,-0.110182844102383,-0.039160273969173) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.058588825166225,0.018439646810293,-0.124502725899220,0.144003450870514,-0.078845791518688,-0.121605433523655,0.142521515488625,0.221659675240517,-0.064803063869476,-0.088385887444019,0.084930539131165,0.073231339454651,-0.056688915938139,0.092991717159748,-0.071445249021053,-0.040706355124712) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.047280643135309,0.024720845744014,-0.060672886669636,0.112331248819828,-0.029927965253592,-0.076502896845341,0.129555076360703,0.085327491164207,-0.078135550022125,0.019155042245984,-0.082098521292210,0.011111740022898,0.111731499433517,0.036445487290621,0.057955544441938,0.035533335059881) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.115577690303326,0.039248336106539,-0.046047952026129,-0.034703515470028,0.051994781941175,0.032988753169775,0.003562365192920,-0.063353173434734,-0.074114896357059,-0.048123430460691,0.015895735472441,0.020174013450742,-0.069648839533329,-0.009477382525802,-0.046288635581732,-0.075266838073730) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.121457569301128,0.025717806071043,-0.078004851937294,-0.001341765630059,-0.086757913231850,0.017034163698554,-0.029151717200875,-0.051058847457170,0.065607458353043,0.088390067219734,-0.064399294555187,0.023234512656927,-0.014118403196335,0.060052968561649,0.003166557289660,-0.007240684237331) * MODEL1_texOff(vec2(1,0));
res += mat4(0.006080849096179,0.049869783222675,0.037254735827446,-0.044555369764566,0.026207948103547,0.087306715548038,-0.011364853009582,-0.058146379888058,0.015745295211673,-0.097464405000210,0.002928167115897,-0.053933586925268,0.054670557379723,-0.021075351163745,0.014692206867039,0.037883825600147) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.061632517725229,-0.059823669493198,-0.092310138046741,-0.044184893369675,0.076144009828568,-0.072504371404648,-0.192606270313263,0.187833234667778,0.179697081446648,0.025141758844256,-0.083201006054878,-0.007257701829076,0.107347145676613,0.175829395651817,0.020899197086692,-0.077939838171005) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.112813673913479,-0.045774083584547,-0.053527384996414,0.175886884331703,0.086882911622524,-0.304485470056534,-0.153729483485222,-0.010462706908584,0.140183776617050,0.010721453465521,-0.087993450462818,0.035490762442350,-0.038582991808653,0.036808859556913,-0.145389810204506,0.034301362931728) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.001509554334916,0.031757246702909,-0.084726467728615,0.054234508424997,0.004577197134495,-0.161100834608078,0.042674828320742,0.118222475051880,0.125118076801300,-0.046126689761877,-0.022863835096359,-0.006187584716827,0.005072951782495,-0.221481725573540,-0.245342701673508,0.100691899657249) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.023883260786533,0.175782576203346,-0.113431863486767,-0.050868857651949,-0.124310992658138,-0.161915585398674,-0.146576166152954,0.165743887424469,0.035556416958570,0.114988051354885,0.057015880942345,0.371366620063782,0.062462713569403,-0.127236798405647,0.013379219919443,0.082234397530556) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.000271374708973,-0.198860302567482,-0.058466322720051,0.072173103690147,0.082972608506680,-0.238213539123535,-0.238165229558945,-0.052358970046043,-0.047051012516022,0.000627504196018,0.069585688412189,0.133412718772888,-0.083178199827671,0.005168555770069,-0.418109804391861,-0.019215106964111) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.082466423511505,-0.023051353171468,0.256676912307739,-0.067110486328602,0.068586692214012,-0.065503925085068,-0.070999160408974,0.047896094620228,0.073630191385746,-0.033599674701691,-0.077008582651615,0.073892004787922,-0.094392731785774,-0.477486163377762,-0.214726388454437,0.256688803434372) * MODEL2_texOff(vec2(0,1));
res += mat4(0.015996921807528,0.058230668306351,-0.059006869792938,-0.110906414687634,-0.225132092833519,-0.143172129988670,-0.010936203412712,0.022687077522278,-0.009753310121596,-0.055095348507166,-0.006311097182333,0.032943114638329,-0.011433688923717,0.029209608212113,0.019878298044205,-0.090265750885010) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.031085409224033,-0.112545914947987,0.084981694817543,-0.096583254635334,-0.049854796379805,-0.085582084953785,-0.247327446937561,-0.039272386580706,0.141213208436966,0.077680550515652,0.013371082022786,0.086746402084827,-0.110629953444004,0.288987487554550,-0.210797876119614,-0.198477283120155) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.036259796470404,0.085451610386372,0.047306802123785,-0.134890601038933,-0.012161313556135,-0.167165920138359,-0.215291976928711,0.017408832907677,0.097676888108253,0.113949947059155,0.005087932106107,0.070970192551613,-0.033004783093929,-0.133413881063461,-0.193821042776108,0.123776793479919) * MODEL2_texOff(vec2(1,1));
res += mat4(0.106002576649189,0.034710288047791,0.157226234674454,-0.060523826628923,0.029476050287485,-0.027477029711008,0.037400972098112,-0.125770390033722,-0.001498833647929,0.152686253190041,0.039180103689432,-0.130366146564484,0.244763791561127,-0.023317685350776,-0.112811177968979,-0.004466399084777) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.166275247931480,-0.002144454978406,0.107433781027794,0.008361287415028,-0.097568042576313,-0.020273398607969,0.159836962819099,0.036398872733116,0.061178963631392,-0.076977811753750,0.110814541578293,-0.032987281680107,0.119886480271816,-0.014505569823086,-0.051640890538692,-0.090428777039051) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.042353481054306,-0.020884918048978,0.174819469451904,-0.059458423405886,0.074404366314411,0.068892501294613,0.029804615303874,-0.042520757764578,-0.102021820843220,-0.055677972733974,0.106048606336117,-0.105679616332054,0.038186762481928,-0.039698626846075,-0.053975533694029,0.041224975138903) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.025997346267104,0.029822329059243,-0.125794753432274,0.040255650877953,0.016546899452806,-0.022692734375596,-0.126560255885124,0.039465609937906,0.065306521952152,-0.128539830446243,0.072634525597095,-0.044406268745661,0.019323898479342,0.140513479709625,-0.015813272446394,0.138292402029037) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.011898137629032,0.032912418246269,0.019554439932108,0.147000402212143,0.037019912153482,0.016561178490520,-0.403466492891312,-0.173607304692268,-0.013677940703928,-0.020548516884446,-0.015857014805079,0.032731208950281,0.170401513576508,-0.051099028438330,0.023890743032098,0.164624691009521) * MODEL3_texOff(vec2(0,0));
res += mat4(0.064507231116295,0.033704444766045,0.037252213805914,-0.032573346048594,-0.079137027263641,0.270734548568726,-0.020534662529826,-0.028143372386694,0.022811317816377,-0.070991404354572,0.074509412050247,-0.069150075316429,0.091919109225273,-0.095352731645107,-0.118886820971966,0.066562630236149) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.044154506176710,-0.066692292690277,0.144754633307457,-0.034652713686228,-0.023311179131269,-0.100225806236267,0.058548446744680,-0.079033397138119,0.065888941287994,0.016889894381166,-0.063060075044632,0.039603296667337,0.091464050114155,-0.017301671206951,0.109412856400013,0.021412730216980) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.118138521909714,0.080758824944496,0.075603738427162,0.103504322469234,-0.234007135033607,-0.241103351116180,-0.046619508415461,-0.225659951567650,0.053216617554426,0.016816735267639,-0.025835240259767,0.046062897890806,0.089829102158546,-0.062315817922354,-0.003132917685434,-0.082018643617630) * MODEL3_texOff(vec2(1,0));
res += mat4(0.073740147054195,-0.008035777136683,-0.013690164312720,-0.069582566618919,0.050539925694466,-0.016176493838429,-0.086788296699524,-0.063448734581470,-0.014275399968028,0.057592421770096,0.068966567516327,0.087675325572491,0.004746571183205,0.005051177460700,-0.097170196473598,0.048612728714943) * MODEL3_texOff(vec2(1,1));
res += mat4(0.121103614568710,0.032155990600586,0.007682596798986,-0.061549164354801,0.089634090662003,0.021716138347983,-0.053210698068142,-0.090073794126511,-0.153205558657646,-0.065037943422794,-0.048006959259510,-0.102501794695854,-0.057805612683296,-0.002677079522982,-0.045755095779896,-0.017166106030345) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.118434593081474,-0.020143322646618,0.092492528259754,0.051192216575146,0.036518566310406,0.085302710533142,-0.141568616032600,0.378218382596970,-0.173697158694267,0.084555990993977,0.024984808638692,0.091120474040508,0.025809302926064,-0.177007228136063,0.006819433998317,-0.050461769104004) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.092984177172184,0.116452381014824,-0.026436151936650,0.042123086750507,0.015239608474076,0.002811173442751,-0.042869523167610,0.138365402817726,0.079358480870724,0.161182537674904,-0.047071911394596,-0.148535460233688,0.020431360229850,-0.024319846183062,0.175016984343529,-0.038993600755930) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.008627146482468,-0.054879516363144,0.048754744231701,0.130526527762413,0.019379397854209,-0.139047980308533,-0.008050641044974,-0.000773176667280,-0.218865051865578,0.152050435543060,-0.005864428356290,0.030790679156780,-0.048471737653017,-0.081772245466709,0.020508822053671,-0.134410068392754) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.008295225910842,0.097787052392960,0.030111178755760,-0.104558549821377,0.358310967683792,-0.000891535135452,0.152100205421448,0.099072128534317,-0.405442714691162,0.048555556684732,0.177737444639206,-0.045174676924944,-0.025695370510221,0.046608246862888,-0.032263830304146,-0.121389269828796) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.031418260186911,-0.077219575643539,-0.018351575359702,-0.069912709295750,-0.060576375573874,0.066525094211102,0.079954944550991,0.032246988266706,-0.145160451531410,-0.032443262636662,-0.042559240013361,-0.058445371687412,0.097366608679295,0.079666480422020,-0.105816632509232,0.005362271796912) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.011939805001020,-0.025659902021289,0.001471696072258,0.088117800652981,0.014384374953806,-0.048784516751766,0.014249360188842,-0.074847571551800,-0.087931126356125,-0.050218079239130,0.022260440513492,-0.058994133025408,0.032467309385538,-0.059939023107290,0.077953591942787,0.048132587224245) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.082324013113976,-0.049045976251364,-0.107715956866741,-0.047390472143888,0.187704980373383,-0.052671026438475,0.121004052460194,-0.070558570325375,-0.241594523191452,-0.018679637461901,0.074220977723598,-0.082105919718742,-0.143066287040710,0.074577525258064,0.077836371958256,0.078945420682430) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.045724086463451,0.025128895416856,0.018824789673090,-0.035999272018671,-0.096003711223602,0.046510480344296,-0.061710901558399,-0.021622991189361,-0.151218593120575,0.089920893311501,-0.098442763090134,-0.019513670355082,0.000436006230302,-0.187023997306824,-0.064911052584648,-0.050115466117859) * MODEL4_texOff(vec2(1,1));
res += mat4(0.030903754755855,-0.139536589384079,0.000676062365528,-0.057200130075216,-0.215175151824951,0.063703082501888,0.181449055671692,-0.049972038716078,-0.097535014152527,0.130814626812935,0.021071104332805,0.033799268305302,0.062231268733740,-0.104563400149345,-0.000062861188781,0.109918385744095) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.096685037016869,0.009278465993702,0.148090407252312,0.032167345285416,-0.099691674113274,-0.159774824976921,-0.005449817515910,0.111787416040897,0.058751676231623,-0.039007034152746,0.100713491439819,-0.049330547451973,-0.014417081139982,-0.009397402405739,0.140442118048668,0.111286617815495) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.034352384507656,-0.031212056055665,0.122886933386326,-0.013900678604841,-0.079781226813793,0.044534645974636,-0.045414242893457,0.080159969627857,-0.036254674196243,-0.002936930861324,0.034917693585157,0.080957241356373,0.086731739342213,-0.086932361125946,0.143197923898697,0.005905514117330) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.049796458333731,0.132713705301285,-0.149894058704376,-0.061235569417477,-0.094335250556469,0.029581720009446,0.110604703426361,-0.204039618372917,0.113109238445759,-0.108903408050537,-0.033348400145769,-0.089605219662189,0.131467029452324,-0.109978310763836,-0.052234761416912,0.081001333892345) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.048639550805092,0.125889793038368,-0.056867942214012,0.001150930067524,0.019550118595362,-0.323630392551422,0.025605006143451,-0.165127366781235,0.051811277866364,-0.041284482926130,-0.055508568882942,-0.103571854531765,0.015339812263846,-0.484301567077637,-0.163811594247818,0.100904285907745) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.220989346504211,-0.066110379993916,0.172219753265381,-0.060473464429379,-0.030857332050800,0.052856273949146,-0.268066376447678,-0.068369761109352,0.082784458994865,0.005261973477900,0.023899465799332,0.020284453406930,-0.004790030885488,-0.108117431402206,0.003994464408606,0.068653635680676) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.065723501145840,-0.050802405923605,-0.077415324747562,-0.021468387916684,0.006087194662541,0.053449038416147,-0.050980329513550,-0.061829499900341,-0.053474448621273,-0.064246185123920,-0.018565138801932,0.031535279005766,0.110249884426594,-0.060600038617849,0.060183193534613,-0.038075294345617) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.055923148989677,0.017313286662102,-0.177994027733803,-0.031363565474749,0.137946754693985,-0.144004762172699,-0.132454812526703,0.020659804344177,-0.056829053908587,-0.043682668358088,-0.004441337659955,-0.062368746846914,0.122235625982285,-0.228691786527634,-0.036468230187893,-0.112366706132889) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.247147157788277,0.031662955880165,0.061799470335245,0.040215387940407,0.003168195718899,0.090124942362309,-0.052019689232111,0.050626542419195,-0.054911777377129,-0.053546726703644,0.081694260239601,0.041727390140295,0.095190875232220,-0.035574037581682,-0.094135694205761,-0.027550371363759) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.316548734903336,0.004033899866045,-0.091682195663452,0.329783827066422,-0.047959759831429,-0.035101838409901,0.055650569498539,0.009843013249338,-0.049233268946409,0.098671585321426,0.054027736186981,-0.020414972677827,0.007363266311586,0.048774544149637,-0.028367081657052,-0.067745871841908) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.253364980220795,-0.030341871082783,-0.028550973162055,0.294462591409683,-0.006897754035890,-0.119897849857807,-0.179558232426643,0.030479388311505,-0.044295486062765,-0.008121211081743,0.087342545390129,0.049773029983044,0.029901573434472,-0.013331255875528,0.088603593409061,0.257948130369186) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.099254824221134,-0.103892959654331,-0.025945711880922,-0.098506815731525,-0.074328266084194,-0.173147782683372,-0.041035592556000,-0.053529884666204,-0.070006877183914,0.002980538876727,-0.058820888400078,-0.023331103846431,-0.017593026161194,-0.040418218821287,0.036969404667616,-0.041531786322594) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.766165077686310,0.029538821429014,0.209233924746513,0.073696367442608,-0.055263277143240,-0.014368021860719,-0.023952137678862,0.050682876259089,0.003977194894105,-0.043346744030714,0.004829334095120,0.021962625905871,0.086633160710335,-0.002758145099506,0.043126463890076,-0.014945269562304) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.038222178816795,-0.093538835644722,0.052934382110834,-0.125984832644463,-0.035681262612343,0.073931798338890,-0.281521111726761,-0.031847789883614,0.059153035283089,-0.033630959689617,-0.114924885332584,0.077030003070831,0.688690602779388,-0.092125929892063,0.062306065112352,-0.114083915948868) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.098841667175293,0.098124921321869,-0.253584653139114,-0.021330298855901,-0.159609794616699,0.114168591797352,-0.025897527113557,-0.142839118838310,0.018126683309674,0.095674894750118,-0.019258910790086,0.064356707036495,-0.049030363559723,0.061097949743271,0.085583977401257,0.002296853810549) * MODEL6_texOff(vec2(0,1));
res += mat4(0.413798570632935,0.079851739108562,0.104428015649319,-0.256629109382629,-0.021554728969932,-0.097719863057137,0.032845899462700,0.003042063210160,-0.046547248959541,-0.041545480489731,0.040094591677189,0.032518472522497,0.177724584937096,-0.028149019926786,0.025784969329834,-0.026192171499133) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.110215678811073,-0.026590945199132,0.047449767589569,-0.258995950222015,-0.049283739179373,-0.062233451753855,-0.048712559044361,0.041037749499083,0.092810109257698,-0.085420861840248,-0.002930953167379,0.056075580418110,0.043573640286922,-0.108536019921303,0.109879434108734,-0.191380038857460) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.069123275578022,-0.040866050869226,-0.168815672397614,-0.110711358487606,-0.080748274922371,0.164524763822556,0.006317632738501,-0.111871130764484,0.041109904646873,0.004132057540119,0.028723724186420,0.065190784633160,-0.060268081724644,0.030738156288862,0.059693042188883,0.026701577007771) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.008305082097650,0.045163247734308,0.000498467008583,0.038019500672817) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL11
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 2_5

vec4 hook()
{
vec4 res = vec4(-0.141232326626778,-0.056931544095278,0.074361667037010,0.109447970986366);
res += mat4(0.029956132173538,0.073838002979755,-0.086342863738537,0.007688387297094,0.062684990465641,-0.022875765338540,0.051325943320990,0.011720894835889,-0.014177450910211,-0.034553758800030,-0.014696648344398,-0.099782474339008,0.012753564864397,0.083382099866867,0.201533943414688,0.151206985116005) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.089885629713535,-0.049803607165813,-0.050767350941896,-0.069706954061985,-0.001858835574239,0.050432998687029,-0.017876703292131,-0.071711264550686,0.022965332493186,-0.063104823231697,0.059602562338114,-0.028899565339088,-0.046743504703045,0.066056117415428,0.213825255632401,0.003146956209093) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.021606726571918,-0.085115931928158,0.073786690831184,-0.007968637160957,-0.120286859571934,0.104672223329544,0.038875903934240,-0.006598288659006,0.035948336124420,0.101606763899326,-0.059875085949898,0.017043987289071,0.019121298566461,-0.033560220152140,0.062974691390991,-0.059391625225544) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.008689879439771,0.046705491840839,0.022914940491319,0.141056180000305,0.049706641584635,0.118121743202209,-0.143493056297302,0.025062102824450,0.169361710548401,-0.006207436323166,0.237845599651337,-0.071246005594730,0.047049988061190,0.002408538479358,-0.160140782594681,0.048060175031424) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.042888425290585,0.040458627045155,0.050908043980598,-0.075041934847832,-0.004731866531074,0.030841769650578,-0.123571872711182,0.266029179096222,0.192446455359459,-0.174481689929962,-0.363949954509735,0.226525664329529,0.014844074845314,-0.132252112030983,0.027084026485682,0.030697382986546) * MODEL1_texOff(vec2(0,0));
res += mat4(0.079200893640518,0.053854256868362,-0.052021570503712,0.105361454188824,-0.040338505059481,0.073177494108677,0.044610001146793,0.037322215735912,-0.130386739969254,0.087953828275204,0.062194399535656,-0.061301250010729,0.009451754391193,-0.072785526514053,-0.008320222608745,-0.000077133387094) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.018280576914549,0.012507616542280,0.084663197398186,-0.018897861242294,-0.034398239105940,-0.120923414826393,-0.039200965315104,-0.021276906132698,0.074334196746349,0.154873892664909,-0.097242638468742,0.223387867212296,0.059610366821289,-0.077685452997684,-0.106929689645767,0.008486166596413) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.012737225741148,-0.112167105078697,0.068334177136421,0.013087093830109,-0.042532805353403,-0.099579766392708,-0.018171457573771,0.091252155601978,-0.176028355956078,0.107435591518879,0.120602071285248,-0.140063866972923,-0.018018489703536,0.035228446125984,0.074315205216408,-0.108388721942902) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.058843359351158,-0.028836473822594,0.010790681466460,-0.035430885851383,-0.049797147512436,0.048486180603504,-0.037007559090853,-0.032483257353306,0.001061171526089,-0.163537278771400,-0.034728806465864,-0.019488366320729,-0.019168347120285,-0.069640114903450,-0.013666933402419,-0.013012308627367) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.045708708465099,-0.044866338372231,0.066547282040119,-0.059849172830582,-0.003363077063113,0.009157001040876,0.045124769210815,-0.088074021041393,0.046662084758282,-0.123192250728607,0.060823880136013,0.075358174741268,0.055874630808830,0.098186887800694,0.002753533190116,-0.079978920519352) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.043902702629566,0.108023285865784,-0.014328925870359,-0.069659300148487,-0.100718885660172,-0.061885233968496,0.029345417395234,-0.088732346892357,-0.009539647027850,-0.092407457530499,-0.061143137514591,0.033650252968073,0.158672809600830,0.065634563565254,-0.016799025237560,-0.021146694198251) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.022050235420465,0.036702882498503,-0.021644419059157,-0.068505786359310,-0.019879622384906,-0.083961501717567,0.016633871942759,-0.008633001707494,0.005447048693895,0.035890635102987,-0.000831323850434,-0.020902218297124,0.021035088226199,-0.111770503222942,0.023789385333657,0.050623696297407) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.012899604626000,0.008038221858442,-0.003258173353970,0.091964386403561,0.036220774054527,0.034214690327644,0.110657632350922,-0.116526007652283,0.098561644554138,-0.131848394870758,0.105777315795422,0.045885108411312,0.136585995554924,0.030074551701546,-0.043716255575418,0.076115995645523) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.058562763035297,0.123683966696262,0.043665803968906,0.097120128571987,-0.005401732400060,0.053198628127575,0.026704655960202,-0.151235222816467,0.047891385853291,0.045313376933336,-0.035453654825687,0.131704092025757,0.187468558549881,-0.001836406881921,-0.036538675427437,0.209721907973289) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.051951371133327,0.056892480701208,0.007403489202261,0.061342339962721,-0.217137157917023,-0.074130624532700,-0.021703740581870,-0.005897124763578,-0.003369403537363,0.186704784631729,-0.097614780068398,-0.006847145967185,-0.073395080864429,-0.136632189154625,-0.047520492225885,-0.002261596499011) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.197623178362846,-0.014957170002162,-0.027475001290441,0.028743939474225,-0.036470688879490,0.014143788255751,0.026031993329525,0.176549643278122,0.066181384027004,0.151523292064667,0.099887043237686,-0.094205237925053,0.005027605686337,-0.010654842481017,-0.089149989187717,0.053695682436228) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.077022068202496,-0.175510108470917,-0.000089829001809,0.019823918119073,0.058983620256186,0.168007165193558,0.099785052239895,-0.014543200843036,-0.022614287212491,0.262450993061066,-0.002772907726467,0.184494122862816,0.036341954022646,-0.121331647038460,0.023021539673209,-0.097275309264660) * MODEL2_texOff(vec2(1,0));
res += mat4(0.099438980221748,-0.195213243365288,0.143463373184204,0.090512588620186,-0.079517431557178,0.090499915182590,-0.020925169810653,0.072140604257584,-0.055622547864914,0.089969232678413,-0.115499645471573,0.117828615009785,0.071953974664211,-0.180033057928085,-0.072312653064728,0.011509875766933) * MODEL2_texOff(vec2(1,1));
res += mat4(0.149997681379318,-0.270544737577438,0.000942262180615,0.077938884496689,0.087278328835964,-0.038816995918751,-0.026611682027578,0.029417615383863,0.063358120620251,0.031446970999241,-0.089304290711880,-0.034209579229355,0.058895573019981,-0.021225798875093,-0.049735248088837,0.141374632716179) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.064767464995384,-0.117966607213020,-0.082869701087475,-0.022085478529334,0.040789976716042,-0.087895713746548,0.067167565226555,0.034179557114840,0.016840955242515,-0.000811027770396,0.017512544989586,0.004057026933879,0.030744042247534,-0.170898571610451,0.057730562984943,0.015533958561718) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.011995823122561,0.000891263422091,-0.052341379225254,-0.029769795015454,-0.022895544767380,-0.025652244687080,-0.042837556451559,-0.025564489886165,0.027946911752224,-0.003258622251451,0.015387400053442,-0.030283363536000,0.007405843120068,-0.204417496919632,-0.019760623574257,-0.086682982742786) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.038659911602736,-0.229767590761185,0.023960763588548,0.038247473537922,0.008953265845776,-0.021919075399637,-0.158577769994736,0.061108108609915,-0.000660576624796,-0.038669839501381,0.009636938571930,-0.033942222595215,0.157317966222763,-0.024874437600374,-0.022157294675708,0.006486478261650) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.052712667733431,-0.158931165933609,-0.053485345095396,0.052588131278753,0.005779470317066,0.004743664059788,0.058562025427818,0.072578139603138,0.095338389277458,-0.090288795530796,-0.046564355492592,0.056199926882982,-0.048928190022707,-0.079823963344097,-0.068450875580311,-0.180530399084091) * MODEL3_texOff(vec2(0,0));
res += mat4(0.059919741004705,-0.006328951567411,-0.071380563080311,-0.111993633210659,0.031928021460772,-0.048019174486399,-0.054754968732595,0.005332975648344,-0.031002480536699,0.025759309530258,-0.004719771910459,0.069157294929028,-0.022503910586238,-0.095328032970428,-0.120652303099632,-0.007111929357052) * MODEL3_texOff(vec2(0,1));
res += mat4(0.092905990779400,0.028695451095700,0.014979504048824,0.082169711589813,-0.001077487715520,-0.059399243444204,0.102889664471149,-0.049967259168625,-0.021329317241907,-0.178870916366577,0.066015109419823,-0.027665501460433,0.056851752102375,0.083121940493584,-0.067854888737202,-0.051471594721079) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.020973427221179,0.132779464125633,0.065878346562386,-0.003016450675204,-0.040043193846941,-0.117095507681370,0.265494495630264,0.118305251002312,-0.093058466911316,-0.014537635259330,0.010638867504895,-0.106297895312309,0.083010248839855,-0.228837609291077,-0.074925355613232,-0.036248095333576) * MODEL3_texOff(vec2(1,0));
res += mat4(0.068522900342941,0.223797932267189,-0.045626491308212,0.062252312898636,0.102809056639671,0.129133924841881,-0.015691619366407,0.051632896065712,-0.042419601231813,-0.033738646656275,-0.030994491651654,-0.020916901528835,-0.012229658663273,-0.244937136769295,-0.045133989304304,-0.075208641588688) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.075687102973461,-0.083950042724609,-0.180583477020264,-0.010927041992545,0.067879170179367,-0.027577340602875,0.007723947521299,-0.004446846898645,0.055854443460703,-0.096098236739635,-0.020810203626752,0.086358979344368,-0.057324346154928,0.010294814594090,0.003602869575843,-0.172137394547462) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.077272005379200,0.113903060555458,0.184431016445160,-0.001583119155839,0.029098967090249,0.019997445866466,-0.122861899435520,-0.038175005465746,-0.132610574364662,0.055152647197247,0.203684553503990,-0.073911763727665,0.035645276308060,0.050575189292431,0.070559382438660,-0.008311099372804) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.016899470239878,-0.094673126935959,-0.051774758845568,-0.069599345326424,-0.038886506110430,-0.074319794774055,-0.006703821942210,-0.076407536864281,0.064214661717415,0.067096866667271,-0.040749240666628,0.045723833143711,-0.019999882206321,-0.122980527579784,0.025675795972347,-0.059263702481985) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.161331713199615,0.206321835517883,0.166672825813293,0.181853413581848,-0.180508449673653,0.060724716633558,-0.059294067323208,0.180006265640259,-0.275463968515396,-0.004897941835225,0.191017195582390,-0.063303150236607,0.057963915169239,0.190175503492355,-0.031194921582937,-0.251835912466049) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.030848480761051,-0.325181692838669,-0.317981690168381,-0.245870202779770,-0.265805304050446,-0.095944285392761,-0.000624693464488,0.031821217387915,0.069877140223980,0.003427244722843,0.402315348386765,0.400793939828873,-0.098105520009995,0.200876116752625,-0.056583642959595,-0.057861536741257) * MODEL4_texOff(vec2(0,0));
res += mat4(0.011574510484934,0.100295491516590,0.065167151391506,0.099791981279850,-0.037386070936918,0.196365505456924,-0.005951145663857,-0.163612112402916,0.222073152661324,0.012800949625671,-0.223595589399338,0.087596267461777,-0.056530341506004,-0.063169941306114,-0.011193370446563,0.007626089267433) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.047756779938936,-0.148514419794083,-0.002182986820117,0.018761731684208,-0.034438371658325,-0.095821134746075,0.053987875580788,-0.026973968371749,-0.025086531415582,-0.001890512648970,-0.051820110529661,-0.107958309352398,0.030478708446026,-0.025154862552881,0.021183202043176,-0.075456976890564) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.083578363060951,0.219464302062988,0.122447185218334,0.017898520454764,0.024413915351033,-0.229882761836052,0.057168386876583,0.100440390408039,-0.097485058009624,0.026241898536682,-0.561571359634399,-0.364071667194366,0.013015628792346,0.069352842867374,-0.047293927520514,-0.103921249508858) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.012709571979940,0.071954727172852,-0.003755393903702,-0.038088802248240,0.196377694606781,0.119627207517624,0.025596285238862,-0.070658728480339,0.106044128537178,-0.001919722300954,-0.151591017842293,0.068732418119907,-0.029162349179387,-0.074897244572639,0.002828020602465,-0.051885902881622) * MODEL4_texOff(vec2(1,1));
res += mat4(0.036558710038662,-0.022874129936099,-0.036464892327785,0.141816407442093,0.091964989900589,-0.086399860680103,0.018274867907166,0.166522413492203,-0.020584646612406,-0.067096881568432,-0.021140987053514,0.045394774526358,-0.002585229696706,-0.009527341462672,0.023398127406836,-0.140540301799774) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.041148129850626,-0.125995591282845,-0.133309409022331,-0.007550003007054,0.087992712855339,0.069906555116177,-0.012534857727587,0.083289936184883,0.039276294410229,-0.095945551991463,-0.039781663566828,0.097026571631432,0.082603305578232,-0.194492563605309,0.077274955809116,-0.010800662450492) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.009206709451973,-0.022825095802546,-0.009682415984571,-0.102748177945614,-0.047994900494814,0.118440777063370,-0.037924859672785,0.031452476978302,-0.122780099511147,0.000874226621818,-0.008179500699043,-0.019564989954233,0.025969058275223,-0.002761445473880,-0.019744232296944,-0.067216753959656) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.155234560370445,-0.100929081439972,-0.133335411548615,-0.121984288096428,0.209232732653618,-0.072373978793621,-0.410887867212296,-0.075643822550774,-0.001372272847220,0.044556338340044,0.070113815367222,-0.093505837023258,-0.088732711970806,0.112365178763866,0.039028629660606,0.168155029416084) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.135352939367294,0.107442222535610,0.253426194190979,-0.073360718786716,0.192839145660400,0.035661879926920,-0.331582427024841,-0.117346040904522,0.038669429719448,0.024186698719859,-0.014769616536796,0.006799519527704,0.044162869453430,0.107627727091312,0.124469332396984,-0.035841736942530) * MODEL5_texOff(vec2(0,0));
res += mat4(0.087463095784187,0.042024362832308,0.144898176193237,0.169093653559685,0.070427566766739,0.187855303287506,-0.012684531509876,-0.013588352128863,-0.070931270718575,-0.031403880566359,-0.006421565543860,0.019294574856758,-0.089585199952126,-0.073381736874580,-0.017363980412483,-0.098847709596157) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.025141686201096,-0.032442905008793,0.066501758992672,0.149343967437744,0.034498963505030,0.070141009986401,-0.101784534752369,0.111197777092457,0.016167046502233,0.016959434375167,-0.118000529706478,0.044579561799765,-0.030323762446642,-0.095885485410690,0.091001644730568,-0.161777511239052) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.065988235175610,-0.015583014115691,-0.143502637743950,-0.374794691801071,-0.092015624046326,0.132393315434456,0.048242136836052,0.167947247624397,0.027539223432541,-0.040382284671068,0.111703917384148,-0.054416719824076,-0.180555701255798,0.110759414732456,0.220290943980217,-0.085073858499527) * MODEL5_texOff(vec2(1,0));
res += mat4(0.037264265120029,-0.024592289701104,-0.200395569205284,0.061393681913614,-0.028835639357567,0.039648715406656,0.060433901846409,-0.037399683147669,0.001713304547593,0.012413378804922,-0.030933897942305,0.035040624439716,-0.045291971415281,-0.007424716372043,0.051097150892019,-0.121550709009171) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.026981499046087,0.089312955737114,0.068030014634132,0.007647826801986,0.005595958326012,-0.065987408161163,0.027865713462234,-0.017994696274400,0.004724020604044,0.019226580858231,-0.039272770285606,-0.011968675069511,0.116744168102741,-0.034183237701654,-0.094045788049698,0.024255476891994) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.031227247789502,-0.113793894648552,-0.004866121802479,-0.035998977720737,-0.137893512845039,-0.065475359559059,0.031342107802629,0.027996335178614,0.011144638992846,-0.035473719239235,-0.025012830272317,0.029896546155214,0.104305706918240,-0.016650924459100,-0.002418649150059,0.039818581193686) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.034194879233837,0.028515931218863,-0.006429686211050,0.000746293750126,-0.106281735002995,-0.030237944796681,0.050237577408552,0.121851272881031,0.079534530639648,-0.065091051161289,0.007197901606560,0.076040752232075,0.029781665652990,0.050068497657776,-0.035331510007381,-0.035618495196104) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.057391364127398,-0.069341145455837,0.194807291030884,0.020440129563212,0.103710755705833,0.082934290170670,0.113070458173752,-0.057477142661810,0.109738089144230,0.113629922270775,0.082146741449833,0.128131732344627,0.022991243749857,-0.066009566187859,-0.082166478037834,0.001943433540873) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.031265631318092,0.018606930971146,-0.053711477667093,-0.057984322309494,-0.362841844558716,0.124777652323246,0.054465059190989,-0.532041311264038,-0.158641114830971,-0.018412003293633,-0.224380582571030,-0.226101428270340,-0.014401362277567,-0.104834914207458,0.164637193083763,-0.047353245317936) * MODEL6_texOff(vec2(0,0));
res += mat4(0.037027310580015,0.005946716293693,0.017765140160918,-0.003790960879996,0.054804418236017,0.174503281712532,0.018892848864198,-0.003027285682037,-0.047961007803679,0.118835881352425,0.101167805492878,0.080052234232426,0.026441881433129,0.121540948748589,0.018859948962927,-0.142670094966888) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.055119596421719,-0.089964047074318,-0.049259517341852,0.115782521665096,0.026912974193692,-0.006850590463728,0.042579852044582,0.046030275523663,0.101453937590122,-0.020926188677549,-0.167059287428856,0.261459499597549,-0.140136957168579,-0.058370973914862,0.114946648478508,-0.169472992420197) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.025364203378558,0.183376431465149,0.004572767764330,0.084476470947266,-0.244021773338318,-0.161851406097412,0.055682949721813,-0.298182010650635,-0.060097977519035,0.076828621327877,0.288266479969025,-0.042362552136183,0.029846869409084,-0.166365101933479,-0.068830572068691,0.022083936259151) * MODEL6_texOff(vec2(1,0));
res += mat4(0.011073354631662,0.004350884817541,-0.007917892187834,0.042729124426842,-0.033324565738440,0.039204366505146,-0.000187720434042,-0.072924301028252,-0.074376516044140,0.145843610167503,0.054036665707827,-0.034806411713362,0.111466206610203,0.264278560876846,0.029414016753435,-0.059631917625666) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.033957391977310,0.560091853141785,0.518457114696503,0.360610008239746) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL12
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 2_6

vec4 hook()
{
vec4 res = vec4(-0.122340209782124,0.142038479447365,0.111933730542660,-0.193053871393204);
res += mat4(-0.076102025806904,-0.013560187071562,0.000146948339534,-0.187965095043182,-0.082634165883064,-0.012136762030423,0.056903459131718,-0.020467014983296,0.061238497495651,0.014252553693950,-0.100256048142910,0.012166905216873,0.056964930146933,-0.100157067179680,0.010045175440609,0.118125088512897) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.172716736793518,-0.133115425705910,-0.129041567444801,0.057832501828671,0.006342200562358,-0.058991480618715,0.165561169385910,-0.029039837419987,-0.004015396349132,-0.003716120030731,0.039502259343863,-0.053182911127806,0.134365946054459,0.025180045515299,-0.026256412267685,0.146155491471291) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.024304261431098,-0.023141367360950,0.148054286837578,-0.007957257330418,0.020185621455312,0.044519782066345,-0.104232303798199,-0.066934585571289,-0.015337964519858,-0.039515957236290,-0.145343229174614,0.045145634561777,0.094381392002106,-0.041701734066010,0.102596230804920,-0.025840047746897) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.142956972122192,0.001428923569620,0.047958850860596,-0.223378330469131,0.017846886068583,0.064602449536324,0.000522458634805,0.141590803861618,0.019070506095886,-0.020752996206284,-0.017874432727695,0.195068925619125,-0.020746655762196,-0.079078055918217,-0.049580663442612,-0.041701164096594) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.062369965016842,0.013840556144714,-0.167229428887367,0.043408889323473,-0.113201536238194,-0.153527364134789,-0.034335006028414,0.048433437943459,-0.119423225522041,0.099977150559425,0.077938072383404,-0.099293626844883,-0.044280845671892,-0.042058974504471,0.052548453211784,0.027563530951738) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.027600537985563,0.008047902025282,-0.089330278337002,0.013398162089288,0.060238651931286,0.067429736256599,-0.081003181636333,-0.001154780038632,0.073365114629269,0.030473411083221,-0.099055752158165,0.096457198262215,0.121621489524841,-0.064113721251488,0.073697768151760,0.005621926859021) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.023289766162634,-0.079638995230198,-0.037392918020487,-0.106050416827202,0.014462220482528,-0.021936027333140,0.094768665730953,0.086202174425125,-0.073505982756615,0.011364396661520,0.088760659098625,-0.174211025238037,-0.229345455765724,-0.034565273672342,-0.039858244359493,0.011900477111340) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.078201152384281,0.010490303859115,-0.005086264573038,-0.037676908075809,-0.043621297925711,0.161564975976944,0.059407260268927,0.037650946527719,0.084538429975510,-0.135056078433990,-0.133716866374016,0.123718224465847,-0.073623374104500,-0.005268973298371,0.040713366121054,-0.014217049814761) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.046751666814089,-0.055634681135416,-0.031595379114151,-0.022706942632794,-0.014091441407800,-0.035722024738789,-0.012035030871630,0.036836214363575,-0.060320898890495,0.121209532022476,0.224195480346680,-0.008563763462007,0.022029820829630,-0.045120470225811,-0.000025228302547,-0.042720794677734) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.053231552243233,0.104373037815094,-0.143333375453949,0.054268140345812,-0.120610229671001,0.027028309181333,0.074340566992760,-0.044847231358290,-0.162414684891701,0.059183612465858,0.081102520227432,-0.233670786023140,-0.090070590376854,0.011609281413257,-0.017493154853582,0.123249240219593) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.028503449633718,-0.104261636734009,0.172025233507156,-0.207120060920715,-0.053805556148291,-0.138726904988289,0.092140175402164,-0.129595205187798,-0.162075489759445,-0.040266409516335,-0.002933049574494,-0.064349539577961,0.019016727805138,0.169796273112297,0.105565674602985,0.015381422825158) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.279965370893478,-0.101000882685184,-0.044822096824646,-0.263672560453415,0.035907682031393,-0.156961485743523,-0.112691499292850,0.031786113977432,-0.000074531235441,-0.153236672282219,-0.068728730082512,-0.103627629578114,-0.080015316605568,-0.016683114692569,0.099836833775043,0.009460842236876) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.113634534180164,0.149866119027138,0.070508614182472,-0.074378482997417,-0.009935508482158,-0.010224612429738,0.224361225962639,-0.274163126945496,-0.186658978462219,-0.119554840028286,-0.015759019181132,0.050825722515583,-0.129957392811775,0.040130775421858,-0.034703303128481,-0.074818789958954) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.100405424833298,-0.094917036592960,-0.013585856184363,0.270571500062943,0.042010068893433,-0.310342103242874,0.079065211117268,-0.225954294204712,-0.048388168215752,0.050331573933363,-0.071664303541183,0.198464572429657,0.060053408145905,0.088720016181469,-0.079684495925903,-0.086237393319607) * MODEL2_texOff(vec2(0,0));
res += mat4(0.159567967057228,0.163511976599693,0.156653955578804,0.228047370910645,-0.112730413675308,-0.153398305177689,-0.327429085969925,-0.068694859743118,0.001760384067893,-0.090534023940563,0.043307531625032,0.013008911162615,0.049087494611740,-0.281604915857315,-0.254729121923447,0.050262354314327) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.319947987794876,-0.013091485947371,0.039578683674335,-0.072619304060936,-0.221892818808556,0.079764522612095,-0.060915440320969,0.018967714160681,0.098915971815586,-0.061556041240692,-0.106911301612854,0.053986687213182,-0.148441717028618,-0.086160846054554,0.019556924700737,0.112300522625446) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.552193164825439,-0.078353337943554,-0.011910610832274,0.190230920910835,0.088145896792412,-0.234000340104103,-0.074117198586464,-0.128087967634201,0.039736550301313,-0.009967316873372,-0.092753589153290,0.017032803967595,-0.085902072489262,-0.058278687298298,-0.189633652567863,0.101369708776474) * MODEL2_texOff(vec2(1,0));
res += mat4(0.034319274127483,-0.004609812516719,-0.063846752047539,0.272841989994049,0.002673535142094,-0.112585701048374,-0.183469682931900,-0.074665240943432,-0.115627534687519,0.018244132399559,-0.000478311150800,0.039811350405216,0.030074143782258,-0.157225713133812,-0.187867775559425,0.099028937518597) * MODEL2_texOff(vec2(1,1));
res += mat4(0.002656517550349,0.033017501235008,0.013474596664310,-0.016698559746146,-0.031297795474529,-0.023472994565964,0.051388148218393,0.055188182741404,-0.061275508254766,0.049958117306232,0.002902764827013,-0.039586618542671,-0.027098609134555,-0.027851844206452,0.066010951995850,0.016238838434219) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.109404593706131,0.029398886486888,-0.071261554956436,-0.015527053736150,-0.021419839933515,0.037195827811956,0.001772846328095,-0.034485761076212,-0.064990088343620,-0.030660977587104,0.023282015696168,-0.008679133839905,-0.072677351534367,-0.005551932379603,0.111039027571678,-0.045474868267775) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.045544732362032,-0.178429543972015,-0.220050603151321,-0.015490490943193,-0.087525874376297,0.073253490030766,0.029035620391369,0.009783991612494,-0.019864404574037,0.065889544785023,0.022100280970335,0.014958077110350,-0.014407170005143,0.066704168915749,0.014628385193646,0.050826162099838) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.038976632058620,0.036045990884304,0.201202929019928,0.055539801716805,-0.074776910245419,-0.113711141049862,-0.076982006430626,-0.494380861520767,0.000178778514965,-0.026949718594551,0.014322437345982,0.150835499167442,0.046445626765490,-0.127891004085541,-0.078280352056026,0.035166554152966) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.022343896329403,0.041790418326855,0.064209312200546,0.118260152637959,-0.015896514058113,-0.286208868026733,-0.301599621772766,-0.209999844431877,-0.000635733013041,-0.174769774079323,-0.066562771797180,-0.058509666472673,-0.012550490908325,-0.156469434499741,-0.216689631342888,-0.257204711437225) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.064697913825512,-0.060275472700596,-0.112679317593575,0.059183582663536,-0.116022199392319,-0.097268991172314,-0.077289640903473,-0.041148096323013,0.017191246151924,-0.015044154599309,-0.039027057588100,-0.083279147744179,-0.020486099645495,-0.073922410607338,-0.022236863151193,-0.031363941729069) * MODEL3_texOff(vec2(0,1));
res += mat4(0.083496443927288,0.037317123264074,0.143748730421066,0.056769248098135,0.023663071915507,-0.183163031935692,-0.026867244392633,-0.014881615526974,-0.171500355005264,0.028877057135105,0.070824660360813,-0.081900373101234,0.061957754194736,-0.061022628098726,0.029669301584363,0.134386882185936) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.266891926527023,-0.034225087612867,0.043614082038403,-0.063370004296303,0.150257393717766,0.244634911417961,-0.063456967473030,0.018534265458584,-0.030662871897221,-0.011739522218704,0.012321253307164,-0.025990787893534,0.096456706523895,0.004515164531767,-0.213042169809341,0.100794054567814) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.019370906054974,0.135559186339378,-0.042013064026833,-0.005674205254763,-0.079644426703453,0.049984145909548,0.029514553025365,0.011859776452184,-0.064066603779793,-0.046012576669455,-0.015693439170718,-0.089277736842632,-0.022794460877776,0.014851703308523,-0.154774576425552,0.060362838208675) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.115181893110275,-0.077826455235481,-0.134173378348351,-0.019956279546022,-0.071038633584976,-0.048013489693403,-0.051173541694880,-0.274617433547974,0.063378728926182,0.017587404698133,-0.058063749223948,-0.004246527329087,-0.088785938918591,-0.066373810172081,-0.017499268054962,0.098884612321854) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.005129871424288,0.055925894528627,0.037543196231127,0.065683655440807,-0.094780929386616,-0.187937721610069,0.014287739992142,-0.356877416372299,0.058353275060654,0.031758438795805,-0.065316312015057,0.036269184201956,0.042468730360270,-0.076194114983082,0.026048269122839,-0.134167507290840) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.084163218736649,-0.097895368933678,-0.065192759037018,-0.110931783914566,-0.070693686604500,-0.091728463768959,-0.011006087996066,-0.121537230908871,0.048654060810804,0.143707677721977,0.124100476503372,-0.000597436446697,0.024363921955228,-0.092933595180511,-0.098860017955303,0.041350468993187) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.283321082592010,0.080652251839638,0.083695001900196,-0.053338993340731,0.091083519160748,0.092953473329544,0.072077766060829,-0.197218462824821,-0.088336192071438,0.093629568815231,0.043413590639830,0.073428437113762,-0.041294820606709,0.037056624889374,-0.010061067529023,0.007847397588193) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.329005450010300,-0.168995261192322,-0.161912322044373,-0.031756240874529,-0.026867197826505,-0.010177486576140,0.125447452068329,-0.140641376376152,-0.062604896724224,-0.122630015015602,0.090075410902500,0.120940707623959,-0.059182804077864,-0.004428324289620,-0.017608536407351,0.001632284256630) * MODEL4_texOff(vec2(0,0));
res += mat4(0.069905251264572,0.029574463143945,0.060271039605141,0.010845815762877,-0.079200714826584,0.192347198724747,0.011293715797365,-0.104356952011585,0.044233061373234,0.063996747136116,-0.008476653136313,-0.047560751438141,-0.119889408349991,0.025413177907467,-0.085163049399853,0.025989303365350) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.225733876228333,0.060378793627024,0.081061691045761,0.048279762268066,0.054301347583532,-0.035810701549053,0.098319388926029,0.048587635159492,-0.120291642844677,0.092191375792027,0.036954466253519,-0.074755422770977,0.119064204394817,0.051021479070187,0.051997505128384,-0.014876416884363) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.483124673366547,0.163790613412857,0.034752883017063,-0.015624059364200,0.328038692474365,0.095675632357597,-0.174871444702148,0.038837034255266,0.027970967814326,-0.156702026724815,-0.004385367501527,0.246688529849052,0.027495823800564,0.008967165835202,0.097724735736847,0.067816287279129) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.211902543902397,0.040382843464613,0.098819799721241,0.034601420164108,0.011727171018720,0.088707990944386,-0.155018761754036,0.047395817935467,-0.089166782796383,-0.018405694514513,0.036142189055681,0.050307422876358,-0.084547773003578,-0.152728244662285,-0.034944809973240,-0.041817694902420) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.091559976339340,0.099746465682983,0.034628201276064,-0.138400733470917,-0.145654097199440,0.176233172416687,-0.118531912565231,0.086165346205235,-0.047026306390762,0.063134007155895,0.085681118071079,0.069165207445621,0.004420647397637,-0.132931530475616,-0.002335914876312,-0.004277526400983) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.082441434264183,-0.065568767488003,0.017490465193987,-0.127876996994019,-0.061815295368433,-0.037351995706558,0.216333940625191,0.024401417002082,0.003047024365515,-0.016597703099251,-0.032900188118219,-0.024204514920712,-0.052563935518265,-0.127953663468361,-0.170574247837067,0.155277967453003) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.121152743697166,0.107617497444153,-0.002040996681899,0.041898529976606,0.064691327512264,-0.016318025067449,-0.101972796022892,0.006529315374792,-0.046180672943592,0.062775090336800,-0.015830330550671,0.018396381288767,0.007005596067756,-0.013436523266137,0.003857164643705,0.017612770199776) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.057001031935215,-0.023674035444856,0.009924448095262,-0.009089561179280,-0.247433632612228,-0.180968999862671,-0.080430343747139,-0.044805418699980,0.055851683020592,-0.018256749957800,-0.012440732680261,0.091195404529572,-0.014371699653566,0.002963368548080,0.194537550210953,-0.091894321143627) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.131709620356560,-0.251864612102509,0.051358737051487,0.146872878074646,-0.109146773815155,-0.342664420604706,-0.090650781989098,-0.233392104506493,0.048760011792183,-0.120251104235649,0.033356517553329,-0.018319576978683,0.212522670626640,0.142570793628693,-0.184155374765396,0.169498085975647) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.015344580635428,0.209608703851700,0.150699868798256,0.063692606985569,-0.050728235393763,0.088554330170155,0.083735637366772,0.043180961161852,0.000578353821766,-0.047395378351212,-0.170197889208794,0.008416913449764,-0.105216465890408,-0.312751621007919,-0.046979937702417,0.028477711603045) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.016756638884544,-0.073012158274651,0.008971162140369,-0.118137747049332,0.010482726618648,-0.028581259772182,-0.135363116860390,-0.045682437717915,0.041453655809164,0.060143373906612,-0.023269049823284,0.012062646448612,-0.064903616905212,-0.041743829846382,0.176721259951591,-0.006191085558385) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.025743810459971,-0.020276803523302,-0.049760978668928,0.063545927405357,0.254244714975357,-0.023001095280051,-0.122283317148685,0.032630544155836,-0.011498811654747,-0.071411728858948,-0.089511357247829,0.025219425559044,0.107894696295261,0.020653646439314,-0.001475833589211,0.050120454281569) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.301714360713959,0.069978982210159,-0.062192592769861,0.113237082958221,-0.021513788029552,0.034285753965378,-0.009163451381028,0.023382548242807,-0.083005592226982,-0.115657418966293,-0.057586707174778,-0.034395389258862,0.094716154038906,-0.316713929176331,-0.045152816921473,-0.018942039459944) * MODEL5_texOff(vec2(1,1));
res += mat4(0.013121593743563,-0.145857334136963,0.194620668888092,0.190954744815826,0.003750726114959,0.041200451552868,-0.043628755956888,0.007090133614838,-0.045922983437777,-0.047424070537090,0.057238202542067,0.026035580784082,-0.060682535171509,0.014173342846334,0.003393977647647,-0.120691992342472) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.084019273519516,0.082195252180099,-0.021827315911651,-0.013463143259287,-0.052596606314182,0.019598349928856,0.131998151540756,0.106535069644451,0.046012476086617,-0.067765675485134,0.059470131993294,0.014364173635840,-0.116559483110905,-0.101645126938820,0.107084318995476,-0.068737037479877) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.022899391129613,-0.095531575381756,-0.106845423579216,-0.046554531902075,-0.036640707403421,0.078193396329880,0.000679186370689,0.038692239671946,0.001703117508441,-0.066149719059467,-0.012276637367904,0.020492563024163,-0.028611550107598,0.156303569674492,-0.060583427548409,-0.000902397558093) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.031703285872936,-0.257205218076706,0.042020563036203,0.015973132103682,0.133394435048103,0.014520491473377,0.068608678877354,-0.155755594372749,-0.034979172050953,-0.095853231847286,-0.026104407384992,-0.084029816091061,0.010533380322158,-0.098196238279343,0.118424229323864,-0.037821032106876) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.012872653082013,0.140814572572708,-0.115325383841991,-0.061500474810600,-0.048687450587749,-0.365517228841782,-0.001395556377247,0.132411256432533,0.093889020383358,-0.022887635976076,-0.106738202273846,0.065765574574471,-0.127752497792244,0.025018852204084,0.103783458471298,-0.037189323455095) * MODEL6_texOff(vec2(0,0));
res += mat4(0.082672983407974,-0.120649352669716,-0.042652525007725,-0.080855049192905,-0.132611140608788,-0.030824208632112,0.001933693885803,0.032631896436214,0.022917490452528,-0.048207111656666,-0.054423157125711,0.105262264609337,0.001084274379537,0.174498721957207,0.068786434829235,0.061107538640499) * MODEL6_texOff(vec2(0,1));
res += mat4(0.089112088084221,0.067713782191277,-0.065041854977608,0.011048696003854,0.014335876330733,0.047483544796705,-0.037812720984221,0.100284352898598,-0.006667437497526,0.071645960211754,-0.020303031429648,-0.105708487331867,-0.044935986399651,-0.003250247566029,0.031831443309784,0.028049489483237) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.073235586285591,0.196025937795639,-0.040860805660486,-0.017671110108495,0.199759885668755,-0.054376065731049,-0.068654127418995,-0.020378442481160,-0.005621512886137,0.135895743966103,-0.023975573480129,-0.020259605720639,0.063536591827869,0.189740002155304,-0.049669880419970,-0.036001723259687) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.089534163475037,0.004900387953967,-0.035799778997898,-0.019258562475443,-0.170550256967545,-0.166616573929787,-0.099949143826962,-0.018508322536945,0.016424009576440,0.071918897330761,-0.055733948945999,0.051086343824863,-0.016706975176930,0.052446771413088,-0.128151401877403,-0.009603614918888) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.051184371113777,-0.011756146326661,0.076939716935158,-0.013023719191551) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL1
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 3_1

vec4 hook()
{
vec4 res = vec4(0.269621193408966,0.003371887374669,-0.150066897273064,0.032859306782484);
res += mat4(-0.105629041790962,0.307692766189575,0.249863669276237,0.020704135298729,-0.003014286514372,-0.030624190345407,-0.024077253416181,-0.145767509937286,-0.005825620144606,0.026988763362169,-0.017007226124406,-0.166960984468460,0.050981581211090,-0.149059012532234,0.015854666009545,0.016196368262172) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.047705218195915,0.130122497677803,0.136696681380272,0.047210317105055,-0.038652345538139,-0.014497975818813,-0.215216338634491,-0.102119795978069,0.019058275967836,0.035412650555372,0.097163580358028,0.002333249896765,-0.030434906482697,-0.122408315539360,0.098312467336655,0.049606852233410) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.174389526247978,0.084004305303097,0.028396008536220,-0.136281058192253,0.022650660946965,-0.052659988403320,-0.138950645923615,-0.075845539569855,-0.005270403809845,0.093177676200867,-0.137151435017586,0.206874042749405,0.051006242632866,-0.130262255668640,0.124041616916656,0.019915537908673) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.039198614656925,-0.158771693706512,-0.082496762275696,0.017718298360705,-0.080718450248241,-0.174587830901146,-0.106568917632103,-0.106302298605442,-0.049193259328604,-0.081191353499889,0.131407901644707,-0.049337171018124,0.114457957446575,-0.129446193575859,0.104651406407356,0.048514876514673) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.104790531098843,-0.016244294121861,0.156414002180099,0.258080482482910,-0.200528129935265,-0.209552079439163,0.199369609355927,0.106132179498672,-0.039489008486271,0.203058391809464,0.158736199140549,0.009541244246066,0.017467195168138,-0.473787784576416,-0.079298123717308,0.109907433390617) * MODEL7_texOff(vec2(0,0));
res += mat4(0.052319310605526,0.156038716435432,-0.040870640426874,0.277343362569809,0.014115513302386,0.165301516652107,0.165088191628456,-0.202789142727852,0.035702593624592,0.036154616624117,-0.050953365862370,0.125380977988243,0.178072392940521,-0.274538785219193,-0.024903835728765,0.115853697061539) * MODEL7_texOff(vec2(0,1));
res += mat4(0.123695470392704,-0.040283504873514,0.074246339499950,0.076373144984245,-0.009095026180148,0.022706910967827,-0.018324518576264,-0.218535959720612,0.086736813187599,0.009676945395768,-0.139761969447136,-0.007239256519824,0.123526260256767,-0.130210816860199,0.056706819683313,0.157951593399048) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.027794688940048,0.013507005758584,0.072835639119148,-0.314752072095871,-0.114258207380772,-0.075369104743004,0.132241040468216,-0.093052744865417,-0.066838793456554,-0.097289651632309,0.004351285286248,-0.061819236725569,0.158493995666504,-0.391549110412598,-0.201136022806168,0.160211786627769) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.211323007941246,-0.039636783301830,-0.042499590665102,0.206907793879509,0.023372935131192,-0.035519819706678,0.211488500237465,0.146459177136421,0.085472710430622,0.080387495458126,0.008935578167439,-0.058198198676109,0.043652396649122,-0.441709607839584,-0.052931349724531,-0.053178496658802) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.090520530939102,0.181997463107109,0.025894992053509,-0.084270857274532,0.062996014952660,0.030565790832043,-0.121922418475151,-0.146605193614960,-0.066696718335152,-0.152029886841774,0.039423082023859,-0.005259273108095,0.027204800397158,-0.128361985087395,-0.032893843948841,0.101162478327751) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.108328536152840,0.001353394822218,0.124711632728577,-0.079299569129944,-0.138772130012512,0.084670409560204,0.073075309395790,-0.074274964630604,-0.436933368444443,0.163967579603195,-0.100787162780762,-0.008106244727969,-0.060172781348228,0.174037307500839,0.026565155014396,0.016543647274375) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.146459162235260,0.233178347349167,0.060076583176851,-0.047242190688848,0.010888825170696,-0.065566696226597,-0.019798276945949,-0.012822888791561,-0.171996757388115,-0.045983221381903,-0.018692873418331,0.039643768221140,-0.126384794712067,0.006486618891358,-0.023419212549925,-0.008767951279879) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.003310885280371,-0.275886952877045,0.063261181116104,-0.101879276335239,0.067820653319359,-0.079184614121914,0.044096179306507,0.069818779826164,-0.246375888586044,0.062718220055103,0.117691099643707,-0.188906788825989,0.168672591447830,0.158091455698013,-0.034346070140600,0.105169668793678) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.051742382347584,-0.152222409844398,0.188539341092110,0.268318146467209,0.008349166251719,-0.085889197885990,0.095323562622070,-0.188278466463089,-0.795609951019287,0.042504400014877,-0.240163445472717,0.061490301042795,0.075210385024548,-0.054288256913424,0.048432212322950,-0.091769643127918) * MODEL8_texOff(vec2(0,0));
res += mat4(0.023385779932141,0.082470051944256,0.020191848278046,0.339377969503403,-0.072779044508934,0.109642997384071,0.076755635440350,0.038811810314655,-0.827229738235474,-0.004172020591795,-0.070820011198521,0.120573200285435,-0.080599419772625,0.218508407473564,0.104015834629536,0.086246870458126) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.017633488401771,-0.043241482228041,0.023701639845967,-0.015982020646334,0.104763798415661,-0.037272155284882,-0.006815447937697,0.138587176799774,0.067452996969223,-0.029166534543037,0.038085564970970,-0.078459456562996,-0.070577658712864,0.061153303831816,0.022954139858484,-0.075702600181103) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.065455630421638,0.063732519745827,0.114709444344044,-0.226247325539589,-0.024460786953568,-0.019396454095840,-0.045306641608477,0.073017872869968,-0.403933435678482,0.049805533140898,-0.080408670008183,-0.122962810099125,0.054693587124348,0.114263951778412,0.033211681991816,0.064352102577686) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.222593545913696,0.050259329378605,-0.063405014574528,-0.032665178179741,-0.010308909229934,0.031958796083927,0.169158354401588,0.130913659930229,-0.386585742235184,-0.026892375200987,-0.031435206532478,-0.351921498775482,0.009763411246240,0.009836373850703,-0.015026418492198,-0.079664424061775) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.014149447903037,-0.069978587329388,-0.132040768861771,0.064921535551548,-0.175126254558563,-0.088900320231915,-0.038898885250092,0.055814020335674,0.022970538586378,0.020521173253655,-0.147409036755562,-0.095738127827644,0.072384402155876,-0.025885289534926,-0.018378704786301,-0.016455670818686) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.124251127243042,-0.130220860242844,-0.271235823631287,-0.129006713628769,-0.053852315992117,-0.325305879116058,-0.031628850847483,-0.069791682064533,-0.013416909612715,0.133850410580635,-0.059407588094473,-0.357191532850266,-0.058787677437067,0.110401399433613,0.148088797926903,-0.136763393878937) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.046588964760303,0.171938017010689,-0.002463099546731,-0.066675141453743,-0.110269866883755,0.012126929126680,0.052579104900360,0.021231798455119,-0.176770955324173,0.124489508569241,-0.067088052630424,-0.287874191999435,0.116942599415779,0.034952629357576,0.135372757911682,-0.123721748590469) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.081894762814045,-0.305095940828323,-0.147473827004433,-0.055525660514832,-0.072070404887199,0.105748780071735,0.065075203776360,-0.050348620861769,0.071073450148106,0.144468873739243,-0.068016804754734,-0.238001063466072,0.027619721367955,-0.088054515421391,-0.039843138307333,0.168875187635422) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.153480216860771,-0.191957429051399,0.459488868713379,-0.123244501650333,-0.035632047802210,0.035561554133892,-0.057362314313650,0.048709660768509,-0.303914457559586,0.172065436840057,-0.044829662889242,-0.493242561817169,-0.049524240195751,-0.132433161139488,-0.069981664419174,-0.164901822805405) * MODEL9_texOff(vec2(0,0));
res += mat4(0.079336978495121,0.196515947580338,0.180920392274857,-0.049684364348650,0.061310421675444,0.278847485780716,-0.095972053706646,-0.329235285520554,-0.065637253224850,0.115831531584263,-0.070808105170727,-0.304141730070114,-0.058969810605049,-0.078764639794827,0.073976904153824,0.047173976898193) * MODEL9_texOff(vec2(0,1));
res += mat4(0.004007928073406,0.019324431195855,0.011786072514951,0.017344465479255,0.053574692457914,-0.100553184747696,0.124924369156361,0.050851520150900,-0.050823122262955,0.070839688181877,-0.030761023983359,-0.287608474493027,-0.081895828247070,0.087487511336803,0.030237881466746,0.079280875623226) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.238132447004318,0.034223105758429,0.191008239984512,0.081674367189407,0.176486939191818,-0.185870289802551,-0.002789777237922,0.176933810114861,-0.251835733652115,0.068909168243408,-0.064939819276333,-0.338537186384201,0.145974919199944,-0.035196565091610,-0.015329914167523,-0.170431479811668) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.162415951490402,-0.201369613409042,0.002097111893818,0.065570585429668,0.194177865982056,0.098823443055153,-0.114564165472984,0.101764626801014,0.117305733263493,-0.012860856018960,-0.081254646182060,-0.376924604177475,-0.114517584443092,-0.069153688848019,0.086709387600422,-0.298488259315491) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.067023277282715,0.069903440773487,-0.002148138126358,-0.134249344468117,0.073349408805370,0.044855494052172,0.050675000995398,-0.208454161882401,0.064406819641590,-0.149422287940979,0.030860569328070,0.030117297545075,0.030027767643332,-0.045136116445065,0.072060704231262,-0.268713325262070) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.006754764355719,0.080759748816490,0.045490078628063,0.029203580692410,0.045869227498770,0.149160340428352,0.069778755307198,0.117251090705395,-0.046998567879200,-0.196353346109390,0.074197292327881,0.024395806714892,-0.063059583306313,0.148977130651474,0.060208618640900,-0.064593598246574) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.074317894876003,-0.019477909430861,-0.124007694423199,-0.040494021028280,-0.046988956630230,0.172309339046478,-0.004502706229687,-0.038835741579533,-0.006147455424070,0.080348454415798,0.047990575432777,-0.064141571521759,0.087657839059830,0.045444663614035,-0.091916836798191,0.128067240118980) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.063267223536968,-0.199959263205528,-0.170148327946663,0.205598980188370,0.040608782321215,-0.247039213776588,-0.188621535897255,-0.026123074814677,0.134010359644890,-0.090180084109306,-0.163016781210899,0.000149953935761,-0.111147321760654,-0.003448592731729,0.046261653304100,0.083945766091347) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.045009110122919,-0.402803719043732,0.322575360536575,-0.103173524141312,0.073371052742004,-0.259108394384384,-0.031425137072802,0.170450866222382,-0.039811097085476,0.063251063227654,0.214373692870140,-0.264568835496902,-0.250195115804672,0.166101962327957,0.137858629226685,0.037495627999306) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.102662533521652,-0.178958669304848,0.373257160186768,-0.140524864196777,-0.036085326224566,0.098595082759857,0.010866525582969,0.175933316349983,-0.146525993943214,0.053549975156784,-0.070924766361713,-0.214215397834778,-0.209330469369888,-0.045163169503212,0.052436243742704,0.017244717106223) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.056175317615271,-0.031698580831289,0.031475216150284,-0.042846858501434,-0.138204276561737,0.139191046357155,0.014080121181905,-0.058499328792095,0.115804098546505,-0.040380869060755,-0.147621482610703,-0.045939721167088,0.017282066866755,0.043843407183886,-0.153453186154366,0.097913719713688) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.120255678892136,-0.044720806181431,0.032754391431808,0.043953660875559,0.005939219146967,0.008445282466710,0.191845476627350,0.112440690398216,-0.000661498168483,-0.010902137495577,-0.091646589338779,-0.098568901419640,-0.102778814733028,0.072009079158306,0.117621272802353,-0.121019281446934) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.003824199782684,-0.026520289480686,-0.084352582693100,-0.138197660446167,-0.202840358018875,0.119751155376434,0.069939978420734,-0.148500829935074,-0.075617797672749,-0.147626444697380,0.166877046227455,0.286596804857254,0.077139355242252,-0.022266691550612,0.085246667265892,-0.165585830807686) * MODEL10_texOff(vec2(1,1));
res += mat4(0.012457263655961,0.135569691658020,0.068304695188999,-0.144093826413155,0.012170533649623,-0.071672797203064,0.130173802375793,0.116275086998940,0.107029929757118,-0.008231085725129,0.008085759356618,-0.028933355584741,0.015156333334744,0.020516807213426,0.027862412855029,-0.076696492731571) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.102166622877121,0.052623078227043,0.128838539123535,-0.048868041485548,-0.064386628568172,-0.233383372426033,0.027238462120295,-0.213309615850449,-0.016093399375677,-0.153802677989006,0.009942587465048,0.022441592067480,0.088396631181240,-0.668996751308441,0.042853269726038,0.005221342202276) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.012780446559191,0.036694914102554,0.054422728717327,-0.147670820355415,0.065591104328632,0.173974633216858,0.010036816820502,-0.171181097626686,0.171353042125702,-0.227853193879128,-0.131349712610245,0.122581906616688,0.036243651062250,0.111325949430466,-0.110571347177029,0.021004198119044) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.024205546826124,-0.108670487999916,0.102762699127197,0.056348752230406,-0.195250779390335,-0.050589296966791,0.005923009011894,0.021851157769561,-0.267294138669968,-0.149769619107246,0.051575925201178,0.100776918232441,-0.142468258738518,-0.121118016541004,0.072728537023067,-0.052059516310692) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.166870176792145,-0.255496293306351,0.014184295199811,-0.014048985205591,0.004973345901817,-0.048487912863493,-0.060581408441067,0.053356975317001,-0.278127759695053,-0.100754350423813,-0.168254122138023,0.027245568111539,-0.024451540783048,0.174805968999863,0.182377353310585,0.185316637158394) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.017153214663267,-0.156882956624031,-0.308813422918320,0.085473947227001,0.110165342688560,0.133670195937157,0.076661385595798,-0.285313427448273,-0.011139246635139,-0.029346777126193,-0.039576217532158,-0.353173971176147,0.021115958690643,0.254528045654297,-0.026834750548005,-0.167248979210854) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.115225091576576,0.036787867546082,0.047709811478853,-0.063175939023495,0.084945596754551,0.119987674057484,-0.034969847649336,0.107204012572765,-0.095900930464268,0.037115104496479,-0.037454620003700,-0.041369732469320,0.074499987065792,0.046914149075747,-0.020469808951020,0.050140924751759) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.072697460651398,0.041623312979937,0.077969744801521,0.057469591498375,0.075620554387569,0.031677700579166,-0.037982732057571,-0.027685567736626,0.201647400856018,0.000808060169220,0.021248247474432,0.039037492126226,-0.075869135558605,0.010552880354226,0.061586525291204,-0.006201258394867) * MODEL11_texOff(vec2(1,0));
res += mat4(0.174699485301971,0.015987470746040,-0.033201098442078,-0.230697140097618,-0.057772792875767,-0.027768248692155,0.039883047342300,0.138792604207993,0.033440705388784,0.038321878761053,0.037227340042591,0.046525944024324,0.064687088131905,-0.021228685975075,0.039639640599489,0.230164811015129) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.053594268858433,0.001174570294097,0.080869555473328,0.195175126194954,0.114605851471424,0.033574417233467,-0.051426514983177,-0.102486841380596,0.131203830242157,-0.030475987121463,0.090184286236763,-0.158595055341721,0.114064157009125,-0.050295356661081,-0.139311760663986,0.015227600932121) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.111408032476902,-0.130825489759445,0.120833493769169,-0.118030868470669,-0.034742008894682,-0.014275514520705,-0.002884769812226,-0.053159084171057,-0.041759490966797,0.250104665756226,-0.020615261048079,-0.080709867179394,0.053236760199070,-0.115284815430641,0.009951771236956,-0.135577395558357) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.141972795128822,0.095895282924175,0.025884648784995,-0.161066591739655,-0.058505851775408,0.335641145706177,0.151409059762955,-0.017892967909575,-0.101328380405903,0.271328240633011,-0.041148964315653,0.036951243877411,-0.060971368104219,-0.020332781597972,-0.004222757183015,-0.229164481163025) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.147760540246964,-0.062336117029190,0.114830255508423,0.008301498368382,-0.222199454903603,-0.053074266761541,-0.027955241501331,0.067045807838440,0.063430733978748,-0.098640486598015,0.100374214351177,-0.006860644556582,-0.016692196950316,-0.145944237709045,-0.049120891839266,0.117720820009708) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.007282242644578,-0.143744930624962,0.055789519101381,0.016525944694877,-0.200122103095055,0.012464407831430,0.021625416353345,0.044271226972342,0.006612384691834,-0.005763866938651,0.036223720759153,0.019592288881540,-0.010217453353107,-0.202342346310616,-0.028421524912119,-0.121628053486347) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.072378702461720,-0.018238272517920,0.011590235866606,0.049889259040356,-0.119120359420776,0.246481269598007,0.044233638793230,0.009644743055105,-0.170610025525093,0.049062024801970,0.117469958961010,0.067103862762451,-0.137066796422005,-0.038783527910709,0.385987371206284,-0.094944231212139) * MODEL12_texOff(vec2(0,1));
res += mat4(0.168061763048172,-0.010295889340341,0.084765300154686,0.149201676249504,0.131554618477821,0.038168665021658,-0.022694746032357,0.034841712564230,0.180284172296524,0.136654540896416,0.146993860602379,0.003789816284552,-0.045277852565050,-0.000516562606208,-0.007099595386535,0.043762948364019) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.000557359424420,-0.004052741918713,0.144814282655716,0.063744269311428,-0.039641298353672,-0.156031563878059,0.023000059649348,0.088523529469967,0.104071304202080,0.151977643370628,0.019104385748506,-0.099587701261044,0.162588790059090,0.026825435459614,-0.041782248765230,0.012584270909429) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.029747935011983,-0.018555715680122,0.057506896555424,0.265918791294098,-0.236988961696625,-0.100184813141823,-0.092430062592030,0.185400158166885,0.150197684764862,-0.244489818811417,0.175174251198769,0.127976506948471,-0.110276728868484,-0.139356538653374,-0.140267565846443,0.060126651078463) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.003141103545204,0.161529749631882,0.074673235416412,0.008628329262137) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL2
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 3_2

vec4 hook()
{
vec4 res = vec4(-0.032929465174675,0.049747113138437,0.099082611501217,0.084350712597370);
res += mat4(-0.031299225986004,0.017789462581277,-0.236616685986519,0.043532595038414,-0.000328300055116,0.327285706996918,0.010082572698593,-0.017051359638572,-0.026001267135143,0.032682817429304,-0.011046332307160,-0.048947334289551,-0.086222924292088,0.064850524067879,-0.103007920086384,-0.067766450345516) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.047605410218239,0.004064575769007,0.034803409129381,0.021872486919165,0.004880272317678,0.099353678524494,0.061479777097702,-0.025320738554001,-0.009532790631056,0.028822822496295,0.023525737226009,0.116687811911106,-0.103479206562042,0.028066379949450,-0.084515988826752,0.249087408185005) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.002291983691975,0.013474487699568,-0.010705567896366,0.081547334790230,0.012315320782363,-0.168195277452469,-0.003176217898726,0.233491599559784,-0.015729939565063,-0.035306949168444,-0.069356851279736,-0.076944261789322,-0.083605743944645,0.055934745818377,-0.059789769351482,0.056797135621309) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.186715975403786,-0.366017520427704,0.072907648980618,-0.156322062015533,-0.213675633072853,-0.116166435182095,-0.131093546748161,-0.072797521948814,0.121613577008247,-0.000703597615939,0.003618812654167,-0.038994364440441,-0.195155650377274,0.148585885763168,-0.117916055023670,-0.231647342443466) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.008493068628013,-0.114768244326115,-0.493658274412155,-0.269075661897659,0.160513401031494,-0.001509164576419,-0.033033937215805,-0.129716619849205,-0.133678287267685,0.022735742852092,-0.017348239198327,0.125469595193863,-0.032535374164581,0.224235340952873,-0.254411429166794,0.128440558910370) * MODEL7_texOff(vec2(0,0));
res += mat4(0.158296182751656,-0.103933177888393,0.007313297595829,-0.096987329423428,0.029903169721365,-0.072812534868717,0.140122696757317,0.193082824349403,-0.109499141573906,0.161513462662697,0.132340371608734,-0.058135196566582,-0.054048564285040,0.081639185547829,-0.236242353916168,0.132767349481583) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.042895924299955,-0.049097847193480,0.026052596047521,0.086894050240517,0.076189175248146,0.003519065910950,-0.041039206087589,-0.004538509063423,-0.116353832185268,-0.012243940494955,0.070035651326180,0.017780702561140,-0.218517348170280,0.147174179553986,-0.098661996424198,-0.006023441907018) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.002083741361275,0.012079570442438,-0.056589026004076,0.045073274523020,-0.016882555559278,-0.125803813338280,0.004320941399783,-0.088209688663483,0.271261364221573,0.030504850670695,0.103551037609577,-0.008502878248692,-0.199528038501740,0.147477403283119,-0.225271224975586,0.029598344117403) * MODEL7_texOff(vec2(1,0));
res += mat4(0.152947738766670,-0.006063426379114,-0.037241064012051,0.000103916005173,-0.154027700424194,0.067549511790276,0.140887156128883,-0.197974354028702,-0.013523062691092,0.003965530544519,0.086173571646214,-0.193470016121864,-0.043172061443329,0.186929121613503,-0.324242711067200,0.022150594741106) * MODEL7_texOff(vec2(1,1));
res += mat4(0.075811959803104,-0.049913182854652,-0.042302172631025,0.123951412737370,0.035338465124369,0.257810562849045,-0.015310500748456,-0.152476981282234,-0.011709392070770,-0.100880444049835,-0.079263262450695,-0.130080029368401,-0.042921110987663,0.002153587061912,0.009525009430945,-0.062893100082874) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.035627324134111,-0.018851868808270,-0.051150307059288,0.000682281563058,-0.102124124765396,0.119584083557129,-0.119692303240299,-0.085578627884388,0.005950036924332,-0.059004042297602,-0.095784500241280,-0.171629771590233,0.022464372217655,0.011200192384422,-0.044539701193571,0.112711802124977) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.025462983176112,0.029531259089708,-0.014482088387012,-0.088096469640732,0.128831773996353,-0.039773404598236,0.057883184403181,-0.086525648832321,-0.141514122486115,-0.107333682477474,-0.063701756298542,-0.054866671562195,0.113119527697563,-0.084131196141243,-0.116774581372738,-0.023719891905785) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.118519023060799,-0.122997559607029,-0.080096721649170,-0.013536756858230,0.043682582676411,-0.040583342313766,0.082706145942211,0.011104734614491,0.061826214194298,0.062764942646027,-0.041457142680883,0.104722529649734,0.016127716749907,0.107020959258080,0.082101188600063,-0.023408731445670) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.024319993332028,0.083147220313549,-0.096751205623150,0.082395300269127,-0.121491551399231,-0.365989029407501,-0.069583997130394,-0.239328518509865,0.097053490579128,0.146046623587608,-0.067898340523243,-0.130277916789055,-0.061536032706499,-0.090951077640057,0.057494558393955,0.058316327631474) * MODEL8_texOff(vec2(0,0));
res += mat4(0.025609269738197,-0.006968242116272,0.025301830843091,0.080794557929039,-0.297208100557327,-0.153022229671478,-0.091497786343098,-0.007190074305981,-0.031300853937864,-0.016360538080335,0.021211290732026,-0.102697066962719,0.032734353095293,-0.028212061151862,-0.040997244417667,0.121569827198982) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.001839836710133,-0.124255403876305,-0.135587930679321,-0.027134004980326,0.047463957220316,0.007293995004147,0.056336082518101,0.072473861277103,-0.008168666623533,-0.007248613052070,-0.007836785167456,0.211144998669624,0.151124253869057,0.046325951814651,-0.012360994704068,0.035485714673996) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.119052179157734,0.036725506186485,-0.021304968744516,0.048244792968035,0.183241859078407,-0.057090003043413,0.052618362009525,0.025257855653763,0.065027855336666,0.041211444884539,0.019981659948826,0.121759973466396,0.279593616724014,0.091045767068863,-0.099394217133522,-0.073281817138195) * MODEL8_texOff(vec2(1,0));
res += mat4(0.022810114547610,-0.009892524220049,-0.063655875623226,-0.009109366685152,0.129968434572220,0.039714250713587,-0.015642676502466,0.087640315294266,-0.003202440682799,0.058956541121006,0.029402516782284,0.075421042740345,0.174697577953339,-0.062444005161524,0.014956249855459,0.154296129941940) * MODEL8_texOff(vec2(1,1));
res += mat4(0.072155661880970,0.183097288012505,-0.049174509942532,0.114448584616184,-0.053811997175217,0.329045295715332,-0.068530440330505,0.031353730708361,-0.024110320955515,-0.440004646778107,0.110137246549129,-0.102441914379597,-0.096644081175327,-0.126821860671043,0.016848245635629,0.032524712383747) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.093444436788559,0.004559752065688,0.029753886163235,-0.118770435452461,-0.050487048923969,0.034521285444498,-0.019064327701926,-0.135211169719696,-0.006872536614537,-0.447940558195114,0.057801201939583,0.052328005433083,0.081164695322514,-0.072830021381378,0.006927859038115,0.063322313129902) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.084785111248493,-0.179296776652336,0.042633298784494,-0.052449751645327,0.067920379340649,-0.129020690917969,-0.002792522544041,0.094993129372597,0.017196169123054,-0.183996960520744,0.112136349081993,-0.058772221207619,0.004946839064360,-0.068635724484921,-0.056912794709206,0.060612782835960) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.235019117593765,0.056516394019127,-0.076961599290371,0.111625701189041,-0.006874734070152,-0.183162510395050,-0.153347671031952,0.012065730988979,0.030966095626354,-0.419576734304428,0.098947785794735,-0.273577690124512,0.162834510207176,-0.038359832018614,0.112748049199581,-0.061695363372564) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.205264821648598,-0.069374307990074,0.057163570076227,-0.071691125631332,0.010485424660146,0.056777656078339,-0.013355094008148,-0.068155385553837,0.075397655367851,-0.351730912923813,0.093717738986015,-0.125336110591888,0.052906855940819,-0.097644574940205,0.122091881930828,-0.106446333229542) * MODEL9_texOff(vec2(0,0));
res += mat4(0.116781577467918,-0.231839433312416,0.111772261559963,0.016821697354317,0.008195664733648,0.048432581126690,-0.082074932754040,0.213432893157005,0.057220220565796,-0.241602614521980,0.115527234971523,-0.096054248511791,0.178235813975334,0.091104120016098,-0.041542463004589,-0.081852309405804) * MODEL9_texOff(vec2(0,1));
res += mat4(0.113846823573112,-0.140626713633537,-0.109911866486073,-0.088175721466541,0.174199596047401,-0.015716211870313,-0.092905730009079,-0.087913982570171,0.030816392973065,-0.402974009513855,0.011438467539847,-0.176588609814644,-0.217304483056068,0.030533079057932,-0.061203405261040,-0.164924845099449) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.028454346582294,-0.030936185270548,0.018717020750046,-0.149269625544548,0.030030576512218,-0.075938597321510,0.007372976280749,0.125753372907639,-0.080578178167343,-0.379686862230301,0.049242984503508,0.030617138370872,0.058961130678654,0.047667421400547,0.214470610022545,-0.087358839809895) * MODEL9_texOff(vec2(1,0));
res += mat4(0.005501963663846,0.021119559183717,0.039066985249519,-0.065523162484169,0.141838595271111,0.011671691201627,-0.035681314766407,0.229310020804405,0.000929830013774,-0.093272611498833,0.051079839468002,-0.052212852984667,0.065528959035873,0.042507406324148,0.033458024263382,0.051834754645824) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.082161657512188,0.059070445597172,-0.049752350896597,-0.231843143701553,-0.028174426406622,-0.036503709852695,-0.042084880173206,-0.018508693203330,0.017269361764193,0.060134179890156,0.051389701664448,-0.028501762077212,0.003511226503178,0.128647863864899,0.014026982709765,-0.206218004226685) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.323050141334534,0.000924641033635,0.040457602590322,-0.014424473047256,-0.077005423605442,-0.100005179643631,-0.004395896103233,-0.020571706816554,-0.000601274310611,0.038949046283960,0.072468481957912,-0.057326789945364,-0.174038454890251,0.051851410418749,-0.144832834601402,-0.178787901997566) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.064276270568371,0.050085518509150,-0.047152124345303,0.043110098689795,-0.110421255230904,0.017619812861085,-0.005138895474374,-0.087213166058064,0.027810161933303,0.030074331909418,0.147234097123146,-0.028974227607250,-0.190952867269516,-0.060971058905125,0.001939990557730,0.031125020235777) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.377073734998703,0.210894897580147,-0.103030145168304,-0.249320521950722,0.084954373538494,-0.131040111184120,-0.035496309399605,0.100881673395634,-0.164056316018105,-0.172979950904846,0.189290121197701,-0.027189269661903,0.203765273094177,-0.213109031319618,-0.185031995177269,-0.084658168256283) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.016721982508898,-0.042555805295706,0.193812340497971,-0.104223459959030,0.080967783927917,-0.154023543000221,-0.179070442914963,0.047968767583370,-0.053909149020910,-0.135587960481644,-0.021412905305624,-0.192911580204964,0.109480604529381,0.053981035947800,-0.119664505124092,0.122358433902264) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.075875185430050,-0.010513950139284,0.006636871956289,0.027134779840708,-0.124200090765953,-0.103181444108486,-0.022741708904505,0.044209364801645,0.073707737028599,0.001540218829177,0.132497489452362,-0.128690987825394,0.154453843832016,0.188168883323669,-0.003731756238267,0.113157339394093) * MODEL10_texOff(vec2(0,1));
res += mat4(0.103782244026661,-0.171840980648994,-0.104159034788609,-0.046741399914026,-0.040876567363739,0.262816101312637,0.087805680930614,0.096106939017773,-0.087208360433578,0.039114527404308,0.062804669141769,0.056206598877907,0.074531048536301,0.121467262506485,0.026725448668003,0.121489174664021) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.337691456079483,-0.088784813880920,-0.054838895797729,-0.053776174783707,-0.041365120559931,0.149150103330612,-0.113218486309052,0.107512928545475,0.042385909706354,-0.105245657265186,0.087672017514706,-0.114841543138027,0.049786359071732,0.051798012107611,0.174020230770111,0.051444526761770) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.016621574759483,-0.015873160213232,0.032870683819056,0.006684566382319,-0.049669306725264,0.116635538637638,0.141144111752510,-0.025954417884350,-0.060084585100412,0.009868492372334,0.079143337905407,-0.049024187028408,-0.032201431691647,-0.102015815675259,-0.096934787929058,0.031149510294199) * MODEL10_texOff(vec2(1,1));
res += mat4(0.006778114009649,-0.177046611905098,0.039843294769526,-0.105712763965130,0.009202065877616,0.090135663747787,-0.113473773002625,-0.186196267604828,0.007173321209848,0.142062693834305,0.090063758194447,0.068681716918945,-0.048924986273050,0.248466446995735,-0.019086303189397,0.065049558877945) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.063740998506546,0.270841568708420,0.252818018198013,-0.161064684391022,-0.158427879214287,-0.108287699520588,-0.088793374598026,0.014089334756136,0.018894579261541,-0.034535061568022,0.085590459406376,0.036781523376703,0.017080083489418,0.074140205979347,0.129928380250931,0.083433724939823) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.002427352126688,0.008752474561334,0.082967080175877,-0.192990884184837,0.160773947834969,-0.049900017678738,0.133169323205948,0.034418858587742,-0.021812180057168,-0.058112550526857,-0.002854608697817,0.005905115511268,-0.179923057556152,0.083963118493557,0.097499363124371,0.178766831755638) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.114996202290058,-0.163711503148079,-0.086180984973907,-0.246783494949341,0.153513520956039,0.041115600615740,0.030554961413145,0.077400140464306,-0.088373735547066,-0.450469821691513,-0.047435108572245,0.130446135997772,-0.201170623302460,-0.143853560090065,-0.064792484045029,-0.126778692007065) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.028378667309880,-0.387612849473953,0.083216920495033,-0.179828211665154,0.151576444506645,0.036388732492924,-0.036956731230021,0.064405962824821,0.275659888982773,-0.001489808433689,0.120761528611183,-0.294251888990402,0.103130131959915,0.158739924430847,-0.144678652286530,-0.061307702213526) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.120989076793194,-0.214457631111145,-0.233507856726646,0.059451628476381,0.143700644373894,-0.150949433445930,0.086267217993736,-0.101789981126785,0.060531545430422,0.136700466275215,0.068653494119644,0.006397561170161,0.035820186138153,-0.076842129230499,0.281818598508835,0.070446647703648) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.056792985647917,-0.051604740321636,0.058222148567438,-0.174599945545197,0.063156872987747,0.195104330778122,0.119893096387386,0.208582714200020,-0.028241664171219,0.270367711782455,0.016455758363008,0.096783012151718,-0.070727095007896,0.040041189640760,0.101244494318962,0.092330999672413) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.127039194107056,0.145235523581505,0.139572039246559,-0.155050724744797,0.127164617180824,0.094467930495739,-0.075070932507515,-0.266538530588150,0.036605563014746,0.151652723550797,0.001747554983012,-0.224504128098488,-0.001128499046899,-0.281704246997833,-0.166361004114151,-0.292203724384308) * MODEL11_texOff(vec2(1,0));
res += mat4(0.085629440844059,0.045984413474798,-0.035404153168201,0.113570936024189,0.043622784316540,-0.047357421368361,-0.008819158188999,-0.086519829928875,0.092117071151733,-0.105782136321068,0.011800328269601,0.091380886733532,-0.123912185430527,-0.172271639108658,-0.094740420579910,0.075711779296398) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.298876553773880,0.094912029802799,-0.208188265562057,-0.502908527851105,0.193259820342064,0.207006111741066,0.080200836062431,-0.089173302054405,0.030371982604265,0.058662377297878,0.087258927524090,-0.161982730031013,-0.045672163367271,-0.043868724256754,-0.016367675736547,0.053489856421947) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.093626767396927,-0.177956119179726,0.028880281373858,-0.203432321548462,0.006551686674356,0.138370692729950,-0.079285413026810,-0.071741431951523,-0.147022783756256,0.095753893256187,0.017601694911718,0.060849647969007,0.099653758108616,-0.156088382005692,-0.030592462047935,0.122217051684856) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.161884024739265,-0.134418919682503,-0.015766661614180,0.017838247120380,0.023859363049269,-0.155547484755516,-0.075895711779594,-0.022719152271748,-0.143976926803589,0.006340230815113,-0.078725047409534,-0.005522094666958,-0.012921087443829,-0.076841250061989,0.004197022411972,0.018575418740511) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.052899416536093,0.141985282301903,-0.023809643462300,-0.387440383434296,0.086021810770035,-0.079209379851818,-0.108598753809929,-0.147368058562279,-0.159001588821411,-0.046886209398508,-0.182816907763481,-0.027140801772475,-0.097511582076550,0.088407061994076,-0.070051133632660,-0.036701168864965) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.013405647128820,-0.126697018742561,-0.063781321048737,-0.336158007383347,-0.000073420873377,0.225616708397865,0.003293976187706,-0.067141287028790,0.076158106327057,-0.038084249943495,-0.047326881438494,0.065582051873207,-0.227657452225685,0.002106243046001,-0.065097436308861,0.093422040343285) * MODEL12_texOff(vec2(0,0));
res += mat4(0.353626370429993,-0.145764768123627,-0.107684321701527,-0.314695000648499,0.034151244908571,-0.015801623463631,0.106622375547886,0.014655083417892,-0.122851118445396,-0.131626591086388,-0.160590112209320,-0.177636012434959,0.019172115251422,-0.067892663180828,-0.125913575291634,-0.113998904824257) * MODEL12_texOff(vec2(0,1));
res += mat4(0.188821941614151,0.073014773428440,-0.044343177229166,-0.199014112353325,-0.025448970496655,-0.125658199191093,0.025169547647238,0.023423589766026,0.037401009351015,0.047235094010830,0.067565329372883,0.047053247690201,-0.001387932104990,-0.040814004838467,-0.025105606764555,0.206511110067368) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.318403273820877,-0.050123188644648,-0.069133296608925,-0.230556711554527,0.178584650158882,0.048910919576883,0.073719069361687,-0.078715130686760,0.106228329241276,0.051520913839340,0.043495591729879,0.148073762655258,0.083818808197975,-0.000186353106983,-0.023538360372186,0.120227143168449) * MODEL12_texOff(vec2(1,0));
res += mat4(0.290210783481598,-0.063883557915688,-0.045167624950409,-0.076383486390114,-0.002967884764075,-0.145126461982727,-0.111508250236511,-0.053585406392813,0.138025596737862,0.129208013415337,-0.000423740071710,-0.083033777773380,0.110320806503296,-0.030250228941441,-0.037189457565546,0.088883504271507) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.456009775400162,0.018811533227563,0.043870437890291,-0.016715820878744) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL3
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 3_3

vec4 hook()
{
vec4 res = vec4(0.203606575727463,-0.083069734275341,0.055566724389791,0.035105001181364);
res += mat4(-0.154408991336823,-0.011961368843913,0.065191589295864,0.064090050756931,0.059793476015329,0.135870173573494,-0.072670049965382,-0.078687496483326,-0.037282492965460,0.160899072885513,-0.025382960215211,-0.051775623112917,-0.234430432319641,-0.094995073974133,-0.008103353902698,-0.023652615025640) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.071926221251488,0.194483056664467,0.009219563566148,0.122034311294556,0.302937030792236,0.159769132733345,0.090590521693230,-0.097239702939987,0.043188452720642,0.035107936710119,-0.041713811457157,0.161946997046471,-0.059996016323566,-0.029511515051126,0.010309210047126,0.035169012844563) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.062611892819405,-0.033674139529467,0.023957604542375,0.012685380876064,0.028610754758120,0.020927773788571,0.012929794378579,0.001670858007856,0.005246666260064,-0.086513444781303,0.013512560166419,-0.017046291381121,-0.164881080389023,0.010969829745591,0.019937338307500,0.041178900748491) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.112149357795715,0.159057155251503,0.326909393072128,0.280324995517731,-0.025582004338503,0.135835856199265,0.209117099642754,-0.015531588345766,0.150704622268677,0.047727238386869,0.064928069710732,0.080259270966053,-0.098724052309990,-0.129839703440666,-0.010973667725921,-0.014072361402214) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.043741531670094,-0.102843016386032,-0.185689926147461,0.154297769069672,-0.112175472080708,-0.112102970480919,-0.016731927171350,0.077637627720833,-0.006343852262944,-0.024975784122944,-0.015236262232065,-0.058916244655848,-0.116570077836514,0.001538288663141,0.030525315552950,0.057625383138657) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.045748870819807,-0.041552722454071,0.109168298542500,-0.122445434331894,0.000324783555698,-0.109952330589294,-0.067712068557739,0.013058731332421,0.109014727175236,-0.018583007156849,0.054130241274834,-0.114631809294224,-0.136798724532127,-0.042453300207853,0.014338376931846,0.109083630144596) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.019395327195525,-0.050562225282192,0.092403903603554,-0.047941070050001,0.132631853222847,-0.034337755292654,0.143146499991417,-0.080364070832729,-0.069472327828407,0.028931196779013,0.070819810032845,-0.089015141129494,-0.204299271106720,-0.059871703386307,-0.011625650338829,-0.034771200269461) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.068155720829964,-0.068549484014511,0.036384381353855,-0.014146140776575,-0.025986485183239,-0.023227881640196,-0.017292696982622,-0.068756461143494,-0.164442032575607,-0.106305539608002,-0.040872421115637,0.279539465904236,-0.083224482834339,0.029684290289879,0.032534267753363,0.006085708737373) * MODEL7_texOff(vec2(1,0));
res += mat4(0.008780769072473,-0.003757929429412,-0.015860324725509,-0.033068176358938,0.016061700880527,-0.056608159095049,-0.022287406027317,0.150940492749214,0.047343611717224,-0.058374557644129,0.012423288077116,0.217598333954811,-0.101860843598843,-0.004745123907924,0.016068972647190,0.164814785122871) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.051848340779543,-0.105514518916607,-0.044562585651875,-0.035853754729033,0.050309751182795,0.229303985834122,-0.059271249920130,-0.134173825383186,-0.191004544496536,-0.103258095681667,-0.031789962202311,0.018307028338313,0.024849258363247,-0.184342756867409,-0.022551560774446,-0.044886421412230) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.112150065600872,0.173137083649635,-0.017408058047295,-0.100929267704487,0.037936501204967,0.066590480506420,-0.065070047974586,0.016145901754498,-0.398263514041901,0.254396110773087,0.030600734055042,0.081918597221375,-0.025016928091645,-0.074767604470253,-0.012215723283589,-0.010286342352629) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.069309994578362,-0.021305268630385,0.014199608005583,0.032195858657360,-0.039462231099606,0.038957867771387,0.029786687344313,-0.002388041932136,-0.242403849959373,-0.022385301068425,-0.008074657991529,0.024820275604725,0.082090616226196,0.001970489276573,-0.048896610736847,0.125484481453896) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.161196544766426,0.262825667858124,0.068569615483284,-0.048223890364170,0.200655609369278,-0.085009373724461,-0.060012094676495,-0.043965071439743,-0.089916110038757,0.020568467676640,0.026326093822718,-0.032716494053602,-0.030011333525181,-0.074749559164047,-0.253613054752350,0.020003920421004) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.002099622040987,0.174801483750343,-0.064756467938423,-0.061296872794628,-0.026862619444728,-0.203514844179153,0.073118835687637,0.146327152848244,-0.187784165143967,-0.041376177221537,-0.058156836777925,-0.206424906849861,0.009307008236647,0.192081004381180,0.302280068397522,0.152309268712997) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.023323375731707,-0.088078431785107,0.090065717697144,0.127486869692802,0.108579553663731,-0.112443543970585,0.121380545198917,0.103470809757710,0.090919964015484,-0.021995371207595,0.064904943108559,-0.052540097385645,-0.100740246474743,0.052981324493885,0.076221808791161,0.052940495312214) * MODEL8_texOff(vec2(0,1));
res += mat4(0.104001447558403,-0.031676642596722,-0.057782612740993,-0.128124833106995,0.063773535192013,-0.065604165196419,0.052544854581356,0.088770538568497,0.028782594949007,0.028442939743400,-0.022524088621140,-0.006270445883274,0.033855937421322,0.106862008571625,-0.138871356844902,0.014596715569496) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.090481497347355,-0.320107430219650,-0.253339380025864,-0.144337937235832,-0.177844896912575,-0.033890396356583,-0.101138234138489,0.084886401891708,-0.062841460108757,-0.061157599091530,-0.015843944624066,-0.157807916402817,-0.023454304784536,0.049297623336315,-0.012149287387729,-0.163622051477432) * MODEL8_texOff(vec2(1,0));
res += mat4(0.022403063252568,-0.085612669587135,0.068815320730209,-0.043786365538836,-0.054093096405268,-0.009045439772308,-0.070575505495071,-0.020109167322516,-0.001115690683946,-0.015736736357212,-0.012333746068180,-0.133548587560654,-0.127669960260391,-0.010574518702924,-0.089526414871216,-0.033201441168785) * MODEL8_texOff(vec2(1,1));
res += mat4(0.146301686763763,0.214714571833611,-0.014587342739105,0.003320049494505,0.082628652453423,0.074468754231930,-0.011389373801649,-0.007607907988131,-0.052030354738235,-0.057269580662251,-0.068267442286015,-0.032583896070719,-0.048071872442961,-0.154738485813141,0.063681878149509,-0.005368632730097) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.103605799376965,0.073862560093403,0.018769849091768,-0.071208879351616,0.226054206490517,-0.038137398660183,-0.034325610846281,-0.055761799216270,-0.035683359950781,0.007149437442422,-0.071929387748241,-0.034067608416080,0.007921852171421,-0.249922469258308,0.168216332793236,-0.017309620976448) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.082214392721653,-0.082279138267040,-0.018103331327438,-0.050253242254257,0.119689956307411,-0.038144890218973,-0.130415499210358,-0.049068108201027,0.019746590405703,0.016313372179866,-0.029599586501718,-0.043387282639742,0.024074586108327,0.183187663555145,0.077820830047131,0.119851939380169) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.023736763745546,0.014826289378107,0.038672775030136,0.016101486980915,-0.009907715022564,0.027121216058731,-0.010321492329240,0.001484366832301,0.006976726464927,0.013116403482854,-0.111065633594990,0.004181471653283,0.029406866058707,0.124078534543514,-0.031653534621000,-0.001967521850020) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.078005701303482,-0.078012235462666,-0.188331693410873,0.065973341464996,0.025691684335470,0.078557312488556,-0.056579943746328,-0.076811432838440,0.142873018980026,0.117336347699165,-0.077912479639053,0.058936476707458,0.043392028659582,0.143954262137413,-0.126156643033028,-0.057040516287088) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.070003293454647,-0.034619968384504,0.001604927121662,0.026330115273595,-0.092991568148136,-0.069762840867043,-0.018500244244933,-0.089833341538906,0.002097045537084,0.038308616727591,-0.009321514517069,-0.050659582018852,0.113112561404705,-0.013253079727292,-0.048412393778563,0.126269251108170) * MODEL9_texOff(vec2(0,1));
res += mat4(0.014419515617192,-0.080371551215649,0.140138879418373,0.024279858916998,-0.132390484213829,0.035909913480282,-0.012699364684522,-0.068095982074738,0.023623719811440,0.005658552050591,0.015040723606944,0.040779937058687,-0.176648467779160,0.066241987049580,0.087567143142223,-0.062747947871685) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.063051320612431,-0.007555814925581,-0.081268802285194,0.075446881353855,-0.052868138998747,0.104921251535416,0.068839207291603,-0.001815037685446,0.099066354334354,0.042868219316006,0.016978200525045,0.032732874155045,0.066760160028934,0.005381414201111,0.014289677143097,-0.209828987717628) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.023666884750128,0.027540225535631,-0.152110099792480,0.038667172193527,-0.387508094310760,0.048461355268955,-0.032540179789066,-0.054528258740902,-0.029172433540225,0.035191763192415,0.014160288497806,-0.021326525136828,0.082733400166035,-0.001288701547310,0.051715180277824,-0.015512669458985) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.178427904844284,-0.056291006505489,0.013658320531249,-0.229363277554512,0.051890678703785,0.029844742268324,0.084329001605511,-0.006142830941826,-0.134616583585739,0.101857118308544,0.096075609326363,0.022120580077171,0.016681937500834,0.192120686173439,0.011179442517459,-0.052225343883038) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.198321849107742,0.000822636415251,0.005418096669018,0.036295838654041,-0.321849226951599,-0.267330765724182,0.067249119281769,-0.114055283367634,0.142667815089226,-0.048927020281553,0.078021109104156,-0.135440111160278,-0.007646225858480,0.067467369139194,-0.009487905539572,0.039405703544617) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.018106881529093,-0.000276756501989,0.053227093070745,0.125939130783081,-0.001209368929267,0.117675714194775,-0.006723606027663,-0.032575901597738,-0.031494475901127,-0.090745650231838,0.079531475901604,-0.091740190982819,0.111241325736046,-0.081420630216599,-0.013860327191651,0.156900644302368) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.167687371373177,-0.027263542637229,0.015809718519449,-0.137050464749336,0.025906331837177,0.208592578768730,0.011383177712560,0.038366410881281,0.007444838061929,-0.169027790427208,0.005913793109357,0.062182541936636,0.053352501243353,-0.316224128007889,-0.028916319832206,-0.137426912784576) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.122195042669773,0.058900866657495,-0.026614654809237,0.305582106113434,-0.199040055274963,0.120918691158295,0.154632538557053,-0.049639672040939,0.058764211833477,-0.351997792720795,-0.048284556716681,0.013047363609076,-0.075958967208862,-0.188242807984352,-0.052788775414228,-0.201518476009369) * MODEL10_texOff(vec2(0,0));
res += mat4(0.033127631992102,0.020254831761122,-0.040097139775753,0.293729335069656,0.068451642990112,0.058094576001167,-0.053690388798714,0.085062690079212,-0.040715929120779,0.038790896534920,0.070655040442944,0.053139340132475,0.021317150443792,-0.022804651409388,-0.029796181246638,-0.082093000411987) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.019405288621783,-0.011343878693879,-0.019282925873995,-0.078972011804581,-0.006454504095018,-0.015537295490503,-0.036392658948898,-0.029021028429270,0.122345887124538,0.045477837324142,-0.060120794922113,0.144328251481056,-0.128641515970230,0.061797663569450,0.023596523329616,-0.206151977181435) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.033850196748972,-0.073995411396027,-0.009511923417449,-0.121335253119469,0.049553196877241,-0.030643237754703,-0.038322258740664,0.024756731465459,-0.018495326861739,0.083439670503139,0.020129296928644,0.178713068366051,-0.105377905070782,-0.109995566308498,-0.105783462524414,0.305306196212769) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.008125886321068,-0.014801073819399,-0.047163207083941,-0.210430160164833,-0.101331360638142,-0.029870072379708,-0.089267596602440,-0.040446288883686,0.076454758644104,0.018682625144720,0.025649087503552,0.104694768786430,0.056655883789063,0.017493246123195,0.055579110980034,-0.125481322407722) * MODEL10_texOff(vec2(1,1));
res += mat4(0.184772849082947,-0.076932914555073,-0.159198701381683,-0.007844515144825,-0.105680510401726,-0.102968968451023,-0.157743364572525,-0.061813801527023,0.092814050614834,0.247997686266899,-0.069467611610889,0.034901671111584,0.083369635045528,0.119261413812637,-0.053278811275959,-0.081510983407497) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.108044251799583,0.159360557794571,-0.074793636798859,-0.031265266239643,-0.172332942485809,-0.045733015984297,-0.059697274118662,-0.044668000191450,0.016569716855884,0.337928920984268,0.318564653396606,0.081120587885380,0.159786313772202,0.097335167229176,-0.209006518125534,-0.116357043385506) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.060941711068153,0.125752896070480,-0.089947819709778,0.069910041987896,0.110101372003555,-0.035131677985191,-0.001807691180147,-0.091786228120327,-0.117195054888725,0.114529825747013,0.021157601848245,0.098496176302433,-0.112534500658512,-0.023418409749866,0.049318373203278,0.020269302651286) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.128487676382065,0.073782302439213,0.005387117154896,-0.029934151098132,0.103410176932812,0.022481283172965,0.146944954991341,0.083030864596367,0.008676961995661,0.052876979112625,0.194170072674751,-0.012031867168844,0.015352248214185,0.050234410911798,0.059587944298983,-0.102473750710487) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.014865738339722,0.221595719456673,-0.108794666826725,0.073871560394764,0.184610292315483,-0.096147403120995,0.026357252150774,0.067350976169109,-0.085748106241226,-0.022293137386441,0.143249958753586,-0.074712485074997,0.023408658802509,-0.205194935202599,-0.250576227903366,-0.072716027498245) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.061233032494783,0.043398238718510,-0.069082595407963,-0.125846907496452,0.022168409079313,-0.036284610629082,0.012482687830925,-0.095358639955521,0.130208209156990,-0.099405556917191,-0.122193887829781,-0.358097732067108,-0.121099598705769,0.074190251529217,0.088664472103119,-0.068035811185837) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.135696604847908,-0.011651948094368,0.044141046702862,-0.025165339931846,0.216306909918785,0.010794527828693,-0.079127490520477,0.076872393488884,-0.000199514295673,-0.058237068355083,0.062471449375153,0.012179398909211,0.041570205241442,-0.044440079480410,0.034049149602652,-0.002438856055960) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.092436477541924,-0.115234605967999,-0.027045153081417,-0.049076750874519,-0.085103318095207,0.052530135959387,0.031478703022003,0.073923349380493,0.023662876337767,-0.040565054863691,-0.097542069852352,-0.060201939195395,-0.003549455432221,0.052326135337353,-0.028571523725986,-0.033094346523285) * MODEL11_texOff(vec2(1,0));
res += mat4(0.032820474356413,-0.033847488462925,0.015823297202587,0.096619300544262,0.017125058919191,0.046221505850554,-0.012620775029063,0.151688843965530,0.021872356534004,-0.042902268469334,0.031488817185163,-0.025749588385224,0.014415519312024,-0.073673814535141,-0.088842689990997,-0.119770608842373) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.209606826305389,-0.109762273728848,0.055241052061319,-0.324442982673645,0.104348376393318,0.209419712424278,-0.032985225319862,0.052847485989332,0.001553742680699,0.287083566188812,0.013104730285704,-0.069103322923183,-0.105684131383896,0.005092564504594,0.043948333710432,0.075205333530903) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.028096666559577,-0.164395973086357,-0.078055970370770,0.240164428949356,0.139828592538834,0.221444249153137,-0.096135601401329,0.155570000410080,0.034000143408775,-0.045796122401953,-0.070576809346676,-0.001301396521740,-0.057939484715462,-0.125294864177704,0.123204298317432,-0.004302655812353) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.114899463951588,0.061151076108217,0.002769550308585,0.262309908866882,0.116787716746330,-0.137820720672607,-0.002626050496474,0.056508257985115,0.001382769551128,-0.010285411030054,0.014918690547347,0.123600609600544,-0.094340965151787,-0.105268292129040,-0.028587862849236,-0.098413996398449) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.142199411988258,-0.010779867880046,-0.079663835465908,-0.250781059265137,-0.153273805975914,-0.052791412919760,0.019116995856166,-0.095582395792007,0.158699959516525,-0.142017990350723,-0.007345465477556,-0.049588277935982,0.011560875922441,0.029819563031197,0.060024078935385,0.003085809526965) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.154928550124168,-0.061695098876953,0.009123133495450,-0.055093143135309,0.075846455991268,-0.068049348890781,-0.083530358970165,-0.176219373941422,0.182721674442291,-0.042926143854856,-0.027329988777637,-0.023751346394420,-0.274408251047134,-0.113400995731354,0.141980454325676,-0.024278674274683) * MODEL12_texOff(vec2(0,0));
res += mat4(0.080962575972080,-0.041902218014002,0.057647630572319,0.028397878631949,-0.030402101576328,-0.056588657200336,0.037602689117193,0.178600877523422,-0.052950877696276,-0.147484913468361,-0.025427388027310,0.215429559350014,0.032971568405628,-0.223179131746292,-0.020295269787312,0.236000940203667) * MODEL12_texOff(vec2(0,1));
res += mat4(0.108636558055878,0.007793619763106,-0.023023739457130,-0.194116219878197,-0.019205814227462,0.065281167626381,0.013679618947208,0.042855303734541,-0.006799298338592,0.040283735841513,-0.035038840025663,-0.055979534983635,-0.060485232621431,0.002413261914626,0.113091304898262,0.033301908522844) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.151620313525200,0.065317034721375,-0.043784491717815,-0.071369633078575,0.057278517633677,0.176277533173561,-0.041723016649485,-0.107020676136017,0.076354824006557,-0.039373677223921,-0.012296830303967,-0.164559066295624,-0.025058513507247,0.010374901816249,-0.108157649636269,-0.123636953532696) * MODEL12_texOff(vec2(1,0));
res += mat4(0.020702268928289,0.043883103877306,0.030142039060593,-0.049950115382671,0.029523417353630,0.113306574523449,0.013812351971865,0.008305834606290,0.089379683136940,-0.043577536940575,-0.125095665454865,-0.041095007210970,-0.146421328186989,0.147078126668930,0.052787575870752,-0.104216076433659) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.210192561149597,-0.135379776358604,0.554355144500732,0.059892643243074) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL4
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 3_4

vec4 hook()
{
vec4 res = vec4(-0.240639030933380,-0.020211726427078,-0.038459733128548,-0.037835467606783);
res += mat4(-0.023796373978257,-0.177778258919716,0.163512989878654,-0.080944366753101,-0.199584379792213,-0.164512932300568,0.306754589080811,-0.104869320988655,0.055602867156267,-0.024622030556202,0.058558259159327,0.049314681440592,0.037039212882519,-0.054430514574051,-0.009366854093969,0.053521558642387) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.148873671889305,0.029742280021310,0.060475993901491,-0.054325580596924,-0.098441869020462,0.020341137424111,-0.259153485298157,-0.103836014866829,0.117669589817524,0.030586982145905,0.039483468979597,-0.079507634043694,0.007207476999611,-0.069394655525684,0.056684151291847,-0.030755020678043) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.020527102053165,0.004324606154114,-0.207764297723770,-0.137669175863266,0.073309943079948,0.022653156891465,-0.304724901914597,-0.272360414266586,0.009674402885139,0.006205076351762,-0.033954329788685,0.016215339303017,-0.105324596166611,-0.158266440033913,0.021167559549212,-0.168868511915207) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.010412576608360,-0.014040245674551,0.065587915480137,0.035338722169399,0.153429329395294,0.029968991875648,0.033333193510771,0.017748367041349,-0.062843911349773,-0.113458074629307,-0.058191597461700,-0.037256211042404,-0.012650631368160,-0.163914784789085,-0.009488884359598,0.004266592208296) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.147724494338036,-0.341129630804062,0.233627393841743,-0.120296351611614,-0.534893274307251,-0.254548907279968,0.112096548080444,0.096945472061634,0.151180356740952,0.023751437664032,0.148159787058830,-0.043940462172031,0.039460789412260,-0.164630398154259,-0.038921568542719,0.028511237353086) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.018256833776832,0.097888246178627,-0.096455425024033,-0.183917090296745,0.016959078609943,-0.160595163702965,-0.056791625916958,-0.163408696651459,-0.200442820787430,0.075844138860703,0.029138792306185,-0.072352908551693,-0.030356204137206,-0.119071841239929,0.075697451829910,-0.156892940402031) * MODEL7_texOff(vec2(0,1));
res += mat4(0.179666906595230,0.038549497723579,-0.034096427261829,0.062777347862720,0.093614675104618,0.101940214633942,-0.069672420620918,0.157262057065964,0.141157433390617,-0.075880952179432,0.017581488937140,-0.024325931444764,-0.142559438943863,0.022751789540052,0.072407118976116,0.029426062479615) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.068106859922409,-0.125745564699173,0.005667393095791,-0.050166115164757,0.088205009698868,-0.166459113359451,0.072069264948368,0.108802989125252,0.160484671592712,-0.110212042927742,0.087207339704037,0.080968469381332,-0.126399636268616,-0.000781113514677,-0.052114907652140,-0.016003966331482) * MODEL7_texOff(vec2(1,0));
res += mat4(0.030385777354240,0.153329193592072,0.008430491201580,-0.080213584005833,0.126758605241776,-0.081422582268715,-0.011043376289308,0.023855241015553,-0.040982853621244,0.049095056951046,-0.030625103041530,-0.036258786916733,-0.088436573743820,-0.034334499388933,-0.018243275582790,-0.298889875411987) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.049887824803591,-0.083998210728168,0.010302971117198,0.019153350964189,0.080788739025593,0.150460556149483,-0.054600059986115,0.007377941161394,-0.089040778577328,0.073382124304771,-0.013349257409573,-0.066519826650620,0.114293344318867,0.003330863546580,-0.086923740804195,-0.029814740642905) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.007821458391845,-0.154387071728706,0.042335413396358,0.070893377065659,-0.192393988370895,-0.156558081507683,0.118114992976189,0.059746541082859,0.084092088043690,-0.014645536430180,0.102038383483887,-0.281642466783524,0.077050767838955,-0.057866107672453,0.019519075751305,0.117823675274849) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.004655340220779,0.048891674727201,0.166120111942291,-0.045487191528082,0.014874532818794,0.032462693750858,-0.010742306709290,-0.209437906742096,0.014416701160371,-0.010474759154022,-0.190530732274055,-0.102954752743244,-0.049794200807810,0.099668972194195,0.153158798813820,0.025239204987884) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.153656825423241,-0.094325438141823,0.022120332345366,-0.174258917570114,0.025932349264622,0.095538496971130,-0.057398434728384,0.139624148607254,-0.209809631109238,-0.011426554992795,0.003857154631987,0.070730961859226,0.004004533868283,-0.071203507483006,-0.021620271727443,0.050950609147549) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.001241026096977,0.001912627369165,0.121451362967491,-0.089383140206337,0.062478277832270,-0.108043260872364,0.092806756496429,0.162342786788940,0.015585619956255,0.181409418582916,0.154338106513023,0.104448810219765,0.257454693317413,0.116638824343681,-0.100950114428997,-0.190628454089165) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.016197869554162,0.186980590224266,-0.055389676243067,-0.144428148865700,0.115375347435474,0.026890767738223,0.101225286722183,-0.047704216092825,0.058140601962805,-0.033894546329975,0.064379602670670,0.181041762232780,0.056702636182308,0.037152662873268,0.187775760889053,-0.111203923821449) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.038660522550344,0.004000490531325,-0.067662112414837,-0.210249632596970,-0.004416366573423,-0.154404833912849,-0.049782168120146,-0.000691173947416,-0.118410013616085,-0.109058745205402,0.026581920683384,0.135172903537750,-0.032653611153364,0.076281107962132,0.039036218076944,0.125495672225952) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.131974175572395,-0.249990016222000,-0.016656778752804,-0.010017619468272,-0.065749660134315,0.016511719673872,-0.043576516211033,0.056451607495546,0.020305113866925,-0.008200312033296,0.037299115210772,-0.030528903007507,0.135408341884613,0.190302461385727,0.072338543832302,0.077014952898026) * MODEL8_texOff(vec2(1,0));
res += mat4(0.036532666534185,0.098881214857101,-0.106261976063251,-0.069390676915646,0.095472007989883,-0.112404584884644,0.038075868040323,-0.046311594545841,-0.123649820685387,-0.101651981472969,-0.015340856276453,0.110550582408905,0.166915684938431,0.053510032594204,0.028490941971540,-0.048106845468283) * MODEL8_texOff(vec2(1,1));
res += mat4(0.058135438710451,-0.100075215101242,0.059836048632860,0.106046237051487,-0.034936740994453,-0.120827324688435,0.066302925348282,-0.100162088871002,0.102848820388317,0.036921795457602,-0.048659972846508,-0.033392447978258,0.084852106869221,0.057766232639551,-0.072899118065834,0.005750881973654) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.017197353765368,0.044807408004999,-0.020271351560950,0.110860668122768,-0.092917025089264,0.103241652250290,-0.059034503996372,0.000387562526157,0.062413655221462,-0.002982470206916,0.175838187336922,0.040488950908184,-0.108745425939560,-0.243344977498055,0.103832006454468,-0.103259205818176) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.047916419804096,-0.082489579916000,-0.109287977218628,-0.013904835097492,0.083663493394852,-0.004471627529711,-0.060348518192768,-0.052593592554331,-0.014885577373207,0.013032021932304,-0.071644388139248,0.010630945675075,0.031160015612841,0.031771976500750,0.041494071483612,-0.001021424308419) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.170359253883362,0.141077071428299,-0.020027078688145,-0.041969850659370,0.038617126643658,0.047221384942532,0.073858618736267,-0.086939223110676,0.117043741047382,0.059629201889038,0.038088656961918,0.015712503343821,-0.030450701713562,-0.092678874731064,-0.172069251537323,-0.168337896466255) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.291787922382355,-0.026221148669720,-0.146628960967064,0.125084549188614,0.072827138006687,0.011307459324598,-0.057521641254425,0.046100638806820,0.133806496858597,0.029451426118612,-0.027740744873881,0.115149646997452,-0.070396304130554,0.010481513105333,-0.192865937948227,0.005942384246737) * MODEL9_texOff(vec2(0,0));
res += mat4(0.185133427381516,-0.286180108785629,-0.021399291232228,-0.174467772245407,0.070274651050568,-0.131251066923141,-0.126242578029633,0.054372675716877,0.054604556411505,0.121279597282410,-0.101525112986565,0.004499141126871,-0.034613639116287,-0.064506717026234,0.124708093702793,0.078077562153339) * MODEL9_texOff(vec2(0,1));
res += mat4(0.078728400170803,0.072266422212124,0.000152167325723,0.042822670191526,-0.107619576156139,-0.050365976989269,0.051237754523754,-0.061246223747730,0.098040372133255,0.026360157877207,0.006564015988261,-0.040737699717283,-0.029564827680588,0.158661380410194,0.186502903699875,0.023805890232325) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.269910424947739,0.023063944652677,0.076652221381664,-0.058989439159632,0.024223821237683,-0.024141870439053,0.023992102593184,0.089832693338394,0.044024430215359,0.180729344487190,0.078397527337074,0.147225141525269,0.076864562928677,0.163493454456329,0.004701367113739,0.109687030315399) * MODEL9_texOff(vec2(1,0));
res += mat4(0.318439185619354,-0.045632701367140,0.032470680773258,-0.249783813953400,-0.080490365624428,0.045737601816654,0.105755195021629,0.124428413808346,0.049246862530708,0.116417393088341,0.032489731907845,-0.041344933211803,0.026224829256535,-0.106187835335732,0.072855837643147,0.050865121185780) * MODEL9_texOff(vec2(1,1));
res += mat4(0.008676599711180,-0.150739163160324,0.083299651741982,-0.186663210391998,0.060229722410440,0.073948323726654,0.121707417070866,0.061513867229223,0.015466591343284,0.062016226351261,0.083175480365753,-0.062853373587132,-0.005336672998965,-0.000320743274642,-0.041264735162258,-0.051899287849665) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.254563897848129,0.011541018262506,-0.086098633706570,0.138275817036629,0.020857831463218,-0.288273900747299,0.137088611721992,-0.036328427493572,-0.012164811603725,-0.199081555008888,0.097769245505333,0.004870355594903,-0.051795195788145,-0.008227238431573,-0.185053765773773,-0.253003150224686) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.017491029575467,-0.051662281155586,0.019249511882663,-0.128192409873009,-0.037275586277246,-0.012909703887999,0.100852370262146,0.002272472949699,-0.036644686013460,-0.022369576618075,-0.203787967562675,0.080672092735767,-0.051440365612507,-0.027934892103076,-0.001903502736241,-0.168052136898041) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.359722137451172,-0.007372600957751,0.120677880942822,0.010895674116910,0.145404949784279,0.085302814841270,-0.053487461060286,-0.101552933454514,-0.137553393840790,-0.020355414599180,0.171834632754326,-0.134852275252342,0.135903939604759,-0.104114808142185,0.070693284273148,-0.081809103488922) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.350224703550339,-0.052920978516340,-0.353896856307983,0.098997637629509,-0.002035975921899,-0.210052430629730,0.391656100749969,0.045152004808187,-0.028103318065405,-0.282824188470840,0.252484649419785,0.091731756925583,0.064324527978897,0.039391621947289,0.164816737174988,-0.062317870557308) * MODEL10_texOff(vec2(0,0));
res += mat4(0.213828757405281,-0.094590596854687,-0.106511622667313,0.042536281049252,0.101680181920528,0.109208784997463,-0.049224540591240,0.092198893427849,-0.063280470669270,0.071540892124176,-0.544876515865326,0.037870168685913,0.012011146172881,0.109514832496643,0.126641601324081,-0.035477846860886) * MODEL10_texOff(vec2(0,1));
res += mat4(0.088522568345070,-0.053764808923006,0.057246476411819,-0.138652324676514,0.014879480935633,-0.074032060801983,-0.069302596151829,-0.012623647227883,-0.075117573142052,-0.121029384434223,-0.074904888868332,-0.086236603558064,0.106412649154663,-0.020345650613308,-0.040368262678385,0.074460878968239) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.172821789979935,-0.102175429463387,0.069241762161255,-0.027977023273706,0.081994332373142,-0.143880888819695,0.143586739897728,-0.029708266258240,0.002462541451678,-0.194563940167427,0.121889255940914,0.107597462832928,-0.131240189075470,-0.039818000048399,0.021844012662768,0.234496742486954) * MODEL10_texOff(vec2(1,0));
res += mat4(0.106273129582405,0.023759873583913,-0.099245600402355,-0.202297523617744,-0.092686869204044,0.079174511134624,-0.065544083714485,0.032619085162878,0.035515189170837,0.058209806680679,-0.015806253999472,0.053170483559370,-0.038649469614029,0.066424719989300,-0.018959000706673,-0.104057535529137) * MODEL10_texOff(vec2(1,1));
res += mat4(0.022810583934188,-0.075158745050430,-0.078921027481556,-0.073765948414803,-0.124574281275272,-0.295411676168442,0.046248350292444,0.088191151618958,-0.140278041362762,-0.060984008014202,0.071490444242954,0.076435141265392,0.017979389056563,-0.066558234393597,0.076459631323814,-0.030163956806064) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.075189553201199,-0.144779458642006,0.058272249996662,0.123205386102200,0.045714899897575,0.014525744132698,-0.054695941507816,-0.070241950452328,-0.053658064454794,0.191713273525238,-0.226762413978577,-0.120383515954018,-0.133832052350044,0.051566980779171,-0.316322416067123,-0.017360210418701) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.047898046672344,-0.115659467875957,-0.057307813316584,0.082549557089806,-0.069053068757057,-0.021234087646008,-0.060943137854338,0.004119213670492,0.025157406926155,-0.118798308074474,0.035980306565762,0.026792578399181,-0.002128220163286,0.117431819438934,-0.409717619419098,-0.148229420185089) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.085481300950050,0.052742552012205,0.052394207566977,0.046959500759840,-0.028599716722965,0.016419151797891,-0.052326079457998,0.046532265841961,0.065456964075565,0.104744523763657,0.008982935920358,0.090263284742832,0.061791971325874,0.112284146249294,-0.031531792134047,0.134646251797676) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.030667718499899,0.189410895109177,0.024009771645069,-0.045324198901653,-0.010782005265355,-0.146312445402145,0.027672046795487,-0.058332126587629,0.081641629338264,0.074946641921997,-0.032149463891983,0.075995340943336,-0.153805747628212,-0.191325560212135,-0.061927288770676,-0.001748320413753) * MODEL11_texOff(vec2(0,0));
res += mat4(0.111142620444298,-0.210230961441994,0.258610993623734,0.010799787938595,-0.117824561893940,0.013887053355575,-0.104381047189236,0.092980615794659,-0.124419748783112,-0.398092836141586,0.188560113310814,0.063435569405556,-0.106550134718418,0.103011690080166,-0.620200991630554,-0.108710736036301) * MODEL11_texOff(vec2(0,1));
res += mat4(0.048500735312700,0.046283844858408,-0.006078132893890,0.038349248468876,-0.010740914382041,0.008067613467574,-0.054101202636957,-0.311334341764450,0.047007456421852,-0.000956453382969,-0.025854079052806,0.024956963956356,-0.053769782185555,-0.039026662707329,-0.057616155594587,-0.070097014307976) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.039534915238619,0.057387653738260,-0.026753755286336,-0.088719710707664,-0.165788993239403,-0.193787425756454,0.082907609641552,-0.068716116249561,-0.079077839851379,-0.106538571417332,-0.061196085065603,-0.198305115103722,-0.163475394248962,-0.150427728891373,0.171797260642052,0.015592335723341) * MODEL11_texOff(vec2(1,0));
res += mat4(0.063440732657909,-0.260691702365875,-0.129984363913536,-0.069936417043209,0.004187771119177,0.075358085334301,0.050391227006912,-0.076189436018467,0.050123281776905,0.004718188662082,-0.056355763226748,0.028048479929566,-0.039792943745852,0.102456301450729,0.112638205289841,0.150234311819077) * MODEL11_texOff(vec2(1,1));
res += mat4(0.171177476644516,-0.158339619636536,0.078721068799496,-0.074061095714569,0.021405495703220,0.167261496186256,0.032237518578768,0.149086952209473,0.059649221599102,0.135482594370842,0.010032446123660,0.029204618185759,0.004467991180718,-0.059216435998678,0.009339512325823,-0.059778507798910) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.115086682140827,0.092459544539452,-0.129586100578308,0.123198583722115,0.078611396253109,0.042659670114517,-0.181820392608643,0.162556797266006,0.019544504582882,0.116538472473621,-0.029074694961309,-0.049146182835102,-0.258812218904495,0.029171774163842,0.022129667922854,-0.096798956394196) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.063815563917160,0.160714551806450,-0.077626764774323,0.082798190414906,0.114702410995960,-0.081698916852474,-0.441745460033417,-0.074475266039371,-0.022591607645154,0.106642641127110,-0.066376596689224,-0.010428893379867,-0.030745537951589,0.072963215410709,0.055455926805735,-0.014999549835920) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.320923775434494,0.149754837155342,0.007426449563354,0.110406808555126,0.005652392748743,0.203058630228043,0.165718376636505,0.118712022900581,0.070770114660263,0.056216776371002,0.069945827126503,-0.198496043682098,0.053201708942652,0.100693605840206,-0.028664391487837,0.127998635172844) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.095973342657089,0.074661739170551,0.097155064344406,0.152253583073616,0.152992218732834,-0.056907862424850,0.229382634162903,0.170507296919823,-0.040651153773069,-0.020921405404806,0.117454975843430,0.084628216922283,-0.250304937362671,0.060659956187010,0.179504394531250,-0.033807016909122) * MODEL12_texOff(vec2(0,0));
res += mat4(0.080903932452202,0.015284257009625,-0.114514224231243,0.058778312057257,-0.093731328845024,-0.068596914410591,-0.179555967450142,-0.091921456158161,0.069882839918137,-0.064098045229912,0.041672043502331,0.108842998743057,0.049683336168528,-0.058212447911501,-0.009104526601732,0.016052113845944) * MODEL12_texOff(vec2(0,1));
res += mat4(0.172624528408051,0.252360224723816,-0.068110033869743,0.267874091863632,-0.005844733677804,0.158992901444435,-0.007294514216483,0.059596113860607,-0.136154949665070,-0.122089430689812,-0.164927586913109,-0.008003252558410,-0.027915550395846,-0.026606794446707,-0.028327178210020,0.094494633376598) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.114638611674309,0.072878003120422,-0.088142722845078,0.064825274050236,0.056078072637320,0.081139631569386,0.031332794576883,0.042413979768753,0.090535409748554,0.010135215707123,-0.015114805661142,0.145398467779160,0.151416242122650,-0.015934171155095,0.011971412226558,0.051831763237715) * MODEL12_texOff(vec2(1,0));
res += mat4(0.054103545844555,0.059852164238691,0.018633577972651,0.084157191216946,-0.034108977764845,0.098016969859600,0.017530454322696,0.040564049035311,0.125940755009651,-0.067038007080555,0.126864120364189,0.134931713342667,-0.071877256035805,-0.073457665741444,-0.041706398129463,0.004355523735285) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.100064173340797,-0.025330405682325,-0.276640117168427,0.293469667434692) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL5
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 3_5

vec4 hook()
{
vec4 res = vec4(0.138349741697311,0.249034315347672,-0.027547331526875,-0.004332163836807);
res += mat4(-0.127990826964378,-0.085886567831039,-0.145400553941727,-0.210625186562538,0.027462191879749,0.029044209048152,-0.006025740876794,-0.078061230480671,-0.068548932671547,-0.013397402130067,0.009574779309332,-0.095611453056335,0.013625592924654,-0.042360581457615,-0.020540859550238,0.168628975749016) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.017915239557624,-0.219925001263618,-0.160698428750038,-0.033161170780659,-0.269631385803223,0.047610864043236,-0.005929633975029,0.037570316344500,-0.029607880860567,0.002116414485499,0.025228092446923,-0.123042993247509,0.006915168836713,-0.107192538678646,-0.048095963895321,0.071694582700729) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.044308390468359,-0.008987629786134,-0.023859456181526,-0.051571253687143,-0.108229435980320,0.129447758197784,-0.045497238636017,0.012593133375049,0.046884376555681,0.023252839222550,0.069295890629292,0.089591600000858,-0.037981834262609,-0.078887321054935,0.085320800542831,0.053300332278013) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.260252624750137,0.151927888393402,0.011479360051453,0.047250311821699,-0.209064826369286,-0.063132978975773,0.103997617959976,0.007164109032601,-0.199142321944237,-0.026935610920191,-0.006003481335938,-0.241314411163330,0.009121429175138,-0.131215542554855,0.067610301077366,0.038562241941690) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.178414672613144,-0.212836578488350,-0.062823645770550,0.001572001725435,0.371104180812836,0.277562975883484,-0.252488553524017,-0.141044959425926,-0.123945735394955,0.107405252754688,0.126351386308670,0.179507583379745,-0.036950819194317,-0.206611499190331,0.188245356082916,0.168903887271881) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.118321657180786,-0.064110510051250,0.025022221729159,0.001856716000475,0.067416034638882,0.079956240952015,-0.068057678639889,-0.101055525243282,-0.111607439815998,0.057408366352320,-0.162590414285660,0.046499449759722,0.016595197841525,-0.061322670429945,0.047137446701527,0.007279847748578) * MODEL7_texOff(vec2(0,1));
res += mat4(0.048531241714954,-0.070917584002018,0.073045410215855,0.240402415394783,0.013895731419325,0.074757523834705,0.022046737372875,-0.008982356637716,0.048128210008144,0.028760919347405,-0.110357724130154,-0.106020227074623,-0.091700851917267,-0.071082599461079,-0.007840155623853,0.010771623812616) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.033506289124489,-0.000366479420336,-0.036091033369303,-0.049643024802208,0.165137231349945,0.133014157414436,-0.072493381798267,0.004044770728797,0.018055288121104,0.231660783290863,0.008599433116615,-0.032520182430744,-0.265798151493073,-0.163102105259895,0.150914475321770,0.211065873503685) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.033691227436066,0.041772857308388,-0.157709240913391,0.201691582798958,0.096894308924675,0.025998745113611,-0.075210370123386,0.172590777277946,0.031531304121017,0.087191447615623,-0.094975531101227,-0.052787177264690,-0.041373595595360,-0.089257895946503,0.252290874719620,0.072024956345558) * MODEL7_texOff(vec2(1,1));
res += mat4(0.199516639113426,-0.050811368972063,-0.021596360951662,-0.044886730611324,-0.143047213554382,0.044438425451517,0.051698446273804,-0.083628579974174,-0.005674250889570,0.006045406218618,0.040283575654030,0.098466046154499,0.107715167105198,-0.058158207684755,0.030823526903987,0.133057624101639) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.138839930295944,-0.018089095130563,-0.037662781774998,-0.086067184805870,0.084159344434738,0.112670071423054,-0.041929934173822,-0.253413349390030,-0.017435973510146,-0.204985901713371,-0.024341225624084,-0.398043394088745,0.054463032633066,-0.094251744449139,-0.099608972668648,-0.052834525704384) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.068443648517132,-0.113739334046841,0.040451299399137,-0.059578929096460,-0.047233924269676,-0.063017666339874,-0.103379972279072,0.032870098948479,0.013810761272907,-0.019697029143572,-0.358731955289841,-0.083075486123562,0.069982826709747,-0.045530073344707,-0.015804132446647,-0.015396178700030) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.120484799146652,-0.108795374631882,0.245032578706741,-0.104700021445751,-0.100743770599365,-0.211176335811615,-0.077696017920971,-0.017694141715765,-0.099020451307297,-0.055869638919830,0.089089572429657,-0.013727123849094,-0.023612478747964,-0.071749418973923,0.013709736987948,0.121585592627525) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.076638482511044,-0.124777123332024,-0.091403983533382,0.054330494254827,-0.003829848952591,0.050518408417702,0.125264197587967,0.126752331852913,-0.292266190052032,0.068329416215420,0.065861821174622,-0.243305623531342,-0.084323331713676,0.191970169544220,0.116130471229553,-0.166005879640579) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.027043046429753,-0.178175121545792,-0.009125821292400,-0.021834159269929,0.024292221292853,-0.000728970859200,-0.001357003813609,-0.003168361959979,-0.010236759670079,-0.079001680016518,-0.292343914508820,-0.325123101472855,-0.067461922764778,-0.007885777391493,-0.177792355418205,-0.119566418230534) * MODEL8_texOff(vec2(0,1));
res += mat4(0.158988535404205,-0.039574146270752,0.004677941091359,0.079060830175877,-0.030886964872479,0.013771299272776,-0.003443013876677,0.216039970517159,-0.059643194079399,-0.001326939091086,0.014808246865869,-0.053902283310890,-0.095296993851662,-0.086993843317032,-0.050812549889088,0.034703899174929) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.126125037670135,-0.093824826180935,0.022295979782939,0.199470311403275,0.011187297292054,0.026880042627454,-0.137882366776466,-0.058895986527205,0.063560344278812,-0.064870037138462,0.027851007878780,-0.070799998939037,-0.092699930071831,-0.140012726187706,-0.003776936791837,0.257855862379074) * MODEL8_texOff(vec2(1,0));
res += mat4(0.029552912339568,-0.087387025356293,0.020985368639231,0.076233118772507,0.010085596702993,0.027666516602039,-0.080748468637466,0.011935946531594,-0.020614897832274,-0.057798363268375,-0.002157791052014,-0.087610341608524,0.087485827505589,0.042040344327688,0.039068240672350,0.023183844983578) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.116644881665707,-0.040790647268295,-0.014009258709848,0.047543514519930,0.092985011637211,-0.008347636088729,-0.031282037496567,-0.076731145381927,0.116463765501976,-0.003798502730206,-0.023889506235719,-0.020566729828715,-0.241362348198891,0.075962580740452,0.006155683193356,-0.041960809379816) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.359939903020859,0.015123432502151,0.097111091017723,0.008798425085843,-0.064893230795860,0.065585970878601,0.117636606097221,0.125028207898140,-0.012991258874536,-0.028774591162801,-0.192426115274429,-0.203937500715256,0.055168863385916,-0.184242650866508,-0.002554970793426,-0.136495590209961) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.096608407795429,-0.030564591288567,0.130881473422050,-0.235100865364075,0.091562017798424,0.014870760031044,0.172762572765350,0.026637455448508,-0.014706752263010,0.003797804005444,0.042941488325596,-0.042453236877918,-0.039214316755533,-0.062851183116436,0.024001933634281,0.018187763169408) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.252781957387924,-0.170688778162003,-0.074055962264538,0.015337206423283,-0.099740102887154,-0.048406638205051,-0.018560621887445,-0.176467224955559,-0.081737637519836,-0.017234615981579,-0.136486560106277,-0.115556173026562,-0.135233849287033,0.017533903941512,0.134893849492073,0.160518720746040) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.468882799148560,0.182240426540375,-0.212106853723526,-0.131499454379082,0.226652979850769,0.041573170572519,-0.003185171866789,0.246051087975502,-0.084933452308178,-0.039796415716410,-0.088269285857677,-0.282567948102951,0.028322979807854,-0.047076787799597,-0.026797393336892,0.002100445097312) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.143713265657425,-0.029511475935578,0.425771415233612,-0.092215903103352,-0.011899800971150,0.099071905016899,0.017906010150909,-0.209385156631470,-0.046168364584446,-0.022265462204814,-0.092673256993294,0.052049513906240,0.155011832714081,-0.061196092516184,-0.130186140537262,-0.119972974061966) * MODEL9_texOff(vec2(0,1));
res += mat4(0.118261419236660,-0.154998004436493,0.012691861949861,-0.189696431159973,0.087582454085350,-0.007858626544476,-0.082007981836796,-0.102616384625435,-0.080410882830620,-0.021563734859228,-0.070228472352028,-0.152782529592514,0.039052743464708,-0.081604987382889,-0.008845735341311,-0.130325213074684) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.169967025518417,-0.013402727432549,-0.089473545551300,-0.003583731828257,-0.175669461488724,0.042528424412012,0.099904820322990,0.227254047989845,0.020884037017822,-0.025454297661781,0.017570307478309,-0.169010296463966,0.073670841753483,0.005558666307479,-0.013128940016031,0.101492658257484) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.023393571376801,0.055771276354790,0.037887021899223,0.292006939649582,-0.001129738288000,-0.021954657509923,-0.088425166904926,0.034239221364260,-0.034960027784109,-0.024700930342078,-0.156994625926018,0.021334359422326,0.088824160397053,0.012300303205848,0.013097397983074,-0.198314458131790) * MODEL9_texOff(vec2(1,1));
res += mat4(0.049473088234663,0.011354696005583,0.096181176602840,0.032769359648228,0.016797726973891,0.013638181611896,-0.130079120397568,-0.061701145023108,0.093715384602547,0.020630467683077,-0.002225345699117,-0.099661633372307,0.039598550647497,0.130300581455231,0.000820349087007,0.111919187009335) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.045459520071745,0.151764467358589,-0.165037825703621,-0.161169737577438,0.052778348326683,0.049924302846193,-0.068955928087234,0.069394089281559,0.118241965770721,0.121244899928570,-0.017018904909492,-0.085638873279095,-0.009836817160249,0.021918283775449,0.107825398445129,-0.072406604886055) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.023845341056585,0.048777293413877,-0.175571173429489,-0.092745408415794,-0.027245670557022,0.010591108351946,-0.137958005070686,0.019924510270357,0.097582414746284,0.020629843696952,-0.016709730029106,0.001265884609893,0.026253450661898,-0.016495572403073,-0.070381760597229,-0.110502123832703) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.102787338197231,0.001881124335341,0.072936266660690,-0.115700788795948,-0.201847299933434,-0.015745293349028,-0.046430245041847,0.121158920228481,0.213225409388542,0.031624648720026,-0.120689682662487,0.021061373874545,-0.127996250987053,0.051646757870913,0.042012888938189,0.070336058735847) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.135559156537056,0.192299410700798,-0.090408809483051,-0.066266328096390,0.095775105059147,0.007046700455248,-0.198263332247734,-0.081654764711857,0.183780804276466,0.208637684583664,-0.075099013745785,-0.259291797876358,-0.060645304620266,0.033667158335447,-0.051794752478600,-0.262905776500702) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.075753271579742,0.085811376571655,0.238141685724258,-0.047159899026155,-0.016301989555359,0.048325292766094,-0.190792515873909,-0.044319290667772,-0.084238283336163,0.042360644787550,0.030261578038335,0.102685883641243,0.036595672369003,0.020047647878528,-0.113409079611301,-0.015710320323706) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.025766871869564,0.063013792037964,-0.059534169733524,-0.102722302079201,-0.017344804480672,0.013074751012027,0.069978557527065,0.172781214118004,0.044215306639671,0.073834456503391,-0.003287327941507,0.050238568335772,0.083564020693302,0.005447761621326,-0.084143638610840,-0.045586172491312) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.066277809441090,0.049045555293560,0.034161351621151,0.214069083333015,0.009251315146685,0.052655510604382,-0.151656016707420,-0.056640569120646,-0.121299713850021,-0.013600100763142,0.150402620434761,-0.330973446369171,0.043779198080301,0.040934294462204,0.028674911707640,0.006941649131477) * MODEL10_texOff(vec2(1,0));
res += mat4(0.022798918187618,0.091969393193722,-0.116719722747803,0.067707099020481,0.026314232498407,0.076965913176537,-0.041099008172750,0.051374372094870,-0.038363270461559,-0.009979186579585,-0.117302700877190,0.175728470087051,-0.021960347890854,-0.064065977931023,0.101695641875267,-0.005422365386039) * MODEL10_texOff(vec2(1,1));
res += mat4(0.069563992321491,-0.013757457956672,-0.013746451586485,0.120474942028522,0.010359972715378,-0.059272609651089,-0.072959743440151,0.079940855503082,-0.127475917339325,0.044556651264429,-0.013514538295567,-0.186697155237198,-0.070262432098389,-0.001058490131982,-0.041896797716618,-0.250182181596756) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.090389497578144,-0.050875317305326,-0.014941109344363,-0.085040353238583,-0.074633643031120,0.157466024160385,0.138033300638199,-0.002663696184754,-0.492615669965744,0.234914556145668,0.073137678205967,-0.163953691720963,-0.158132910728455,0.119788378477097,0.147767946124077,0.140038624405861) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.228733420372009,0.181719183921814,-0.109278336167336,0.045155983418226,-0.044852901250124,-0.067868538200855,0.032426480203867,0.090741127729416,-0.116684809327126,0.009805822744966,-0.325156331062317,0.044927366077900,-0.143938973546028,0.062886372208595,0.085098676383495,0.013014273717999) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.055853638797998,-0.051403224468231,-0.053053524345160,-0.132815778255463,0.143615737557411,0.087081171572208,-0.042730268090963,-0.111837461590767,0.019107976928353,0.160577714443207,0.141650781035423,-0.113760627806187,-0.147805839776993,0.049238298088312,0.020557893440127,-0.092362962663174) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.176206722855568,-0.163001328706741,0.165562182664871,0.119375333189964,-0.105585247278214,-0.084355957806110,-0.120051726698875,0.027394762262702,0.182024806737900,-0.309977054595947,-0.213078886270523,0.323343425989151,0.172569677233696,-0.189227551221848,-0.040096685290337,0.051675219088793) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.002408504718915,0.066641002893448,0.145166233181953,-0.088092856109142,0.007047055754811,0.105092100799084,-0.061973005533218,0.059272758662701,0.090805307030678,-0.099675133824348,0.174588695168495,0.141789481043816,-0.162900373339653,0.052340224385262,0.084848694503307,0.151140436530113) * MODEL11_texOff(vec2(0,1));
res += mat4(0.036414433270693,0.050490375608206,-0.031172906979918,-0.244417250156403,-0.027969513088465,-0.029262866824865,0.001856604241766,0.092324919998646,-0.015232755802572,-0.044727500528097,0.054131515324116,-0.101354449987411,0.028521325439215,0.017369935289025,0.118330389261246,0.035046588629484) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.123943902552128,-0.010905203409493,0.104075476527214,0.076893962919712,-0.186688691377640,0.005055966787040,-0.086520746350288,-0.220859274268150,-0.086931973695755,0.042402658611536,-0.025179991498590,0.251850903034210,-0.000931872520596,0.073121689260006,-0.150519937276840,-0.172686100006104) * MODEL11_texOff(vec2(1,0));
res += mat4(0.005889969877899,-0.097352549433708,-0.048024501651525,-0.051048319786787,-0.083238363265991,0.061255801469088,-0.012305868789554,-0.048054397106171,-0.037068545818329,0.067904770374298,-0.035041537135839,-0.218287527561188,0.131693288683891,-0.004303705878556,0.034690253436565,0.139145776629448) * MODEL11_texOff(vec2(1,1));
res += mat4(0.191308468580246,-0.135752335190773,0.159498661756516,-0.065578952431679,-0.150275185704231,0.015156345441937,-0.026416705921292,0.034409884363413,-0.065121270716190,-0.014698537066579,-0.062189746648073,0.078190430998802,-0.071420334279537,0.059691064059734,-0.055527798831463,0.138308048248291) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.096499003469944,0.021099586039782,0.008805496618152,-0.274604201316833,-0.211927682161331,0.066255904734135,-0.024235799908638,0.028522921726108,-0.068397849798203,-0.043463598936796,0.146480664610863,-0.188892900943756,0.257504612207413,-0.048673670738935,-0.022605709731579,-0.002211516723037) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.027608303353190,-0.061881620436907,0.031142566353083,-0.013709051534534,-0.043461170047522,-0.079277805984020,0.113965183496475,-0.229896485805511,0.128151208162308,-0.032396815717220,-0.006456760223955,-0.289335787296295,0.057310618460178,0.016103444620967,-0.055452123284340,-0.042091656476259) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.152996912598610,-0.064808338880539,0.150529325008392,-0.083419002592564,-0.114840000867844,0.015345952473581,-0.129091128706932,0.085039027035236,0.044243793934584,0.003708876203746,-0.041438236832619,-0.106885977089405,-0.184874325990677,0.020083293318748,-0.067329511046410,-0.035136338323355) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.018110029399395,-0.114783510565758,0.174011200666428,0.008170332759619,0.045494705438614,0.117604337632656,-0.154444053769112,-0.028932925313711,0.080037772655487,-0.129943117499352,-0.024850908666849,-0.319070696830750,0.313981652259827,-0.001802941318601,-0.218183055520058,-0.064605936408043) * MODEL12_texOff(vec2(0,0));
res += mat4(0.080016449093819,-0.118364699184895,0.032318633049726,0.122869856655598,-0.053221985697746,-0.037190683186054,0.095825590193272,0.055724713951349,-0.135963171720505,0.006853909231722,0.008998023346066,-0.176300212740898,0.234946206212044,0.007372924592346,-0.035963218659163,-0.080174557864666) * MODEL12_texOff(vec2(0,1));
res += mat4(0.042267084121704,-0.024181177839637,0.124472022056580,0.092341870069504,-0.049664173275232,0.020043097436428,-0.077125906944275,-0.183978915214539,-0.047218311578035,-0.008341755717993,0.158273771405220,0.060223203152418,-0.109177373349667,-0.066395930945873,-0.020255213603377,-0.162572845816612) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.009872231632471,-0.030195537954569,0.074298039078712,-0.043413545936346,-0.111304469406605,-0.012754875235260,0.018379308283329,-0.056898910552263,-0.068326272070408,0.011644694954157,0.146645545959473,-0.216257333755493,-0.211360543966293,0.146678417921066,0.081808462738991,0.262996226549149) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.007609510794282,-0.051439069211483,0.021230671554804,0.031410079449415,-0.069735668599606,-0.030162936076522,-0.021843139082193,0.202299311757088,0.105810865759850,0.044346131384373,-0.007656565401703,0.262085795402527,-0.122740663588047,-0.018751081079245,-0.002771415049210,0.013225974515080) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.125163003802299,0.806212544441223,0.158481955528259,-0.001924053765833) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL6
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 3_6

vec4 hook()
{
vec4 res = vec4(0.230977848172188,0.160342916846275,-0.046752512454987,0.120274573564529);
res += mat4(-0.013265672139823,0.141207739710808,0.070276580750942,0.009714303538203,-0.030966321006417,0.017647752538323,-0.105188347399235,-0.093687258660793,-0.013604770414531,0.070267103612423,0.128185912966728,-0.039776898920536,-0.018042707815766,0.066934786736965,0.012895152904093,0.076460920274258) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.010720486752689,0.055776450783014,0.102551393210888,0.116673417389393,0.051267545670271,-0.049629949033260,-0.017405217513442,0.047365017235279,0.039092414081097,-0.019512323662639,-0.114221997559071,0.065556667745113,-0.037426557391882,0.025112984701991,-0.024068022146821,0.035654053092003) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.003549412591383,0.160072565078735,-0.075339369475842,0.118387065827847,0.007914018817246,0.045947771519423,0.047918662428856,-0.070074893534184,-0.023021943867207,0.041765045374632,0.029573746025562,-0.028420707210898,-0.015885001048446,0.108385689556599,-0.055168259888887,0.044756222516298) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.187281072139740,-0.160987272858620,0.001455864054151,-0.114761874079704,-0.008241700939834,0.040579136461020,-0.114943005144596,0.358225941658020,-0.003415135666728,-0.027736306190491,0.011699357070029,0.141437709331512,-0.046962182968855,0.112087644636631,0.036953330039978,0.013245504349470) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.066941015422344,-0.052872512489557,0.358454048633575,-0.270627051591873,-0.313624590635300,-0.089784190058708,0.205751150846481,-0.235366031527519,0.128747418522835,0.129907414317131,0.006566022522748,0.234910055994987,-0.171014994382858,0.197648853063583,-0.064563453197479,-0.076514951884747) * MODEL7_texOff(vec2(0,0));
res += mat4(0.020934125408530,-0.128374874591827,-0.207700416445732,0.131266593933105,-0.091798715293407,0.030089188367128,0.054332226514816,-0.261693418025970,0.021948091685772,0.158750057220459,-0.039522562175989,0.110652685165405,0.036245375871658,0.117825940251350,0.020700713619590,-0.114749617874622) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.097099430859089,-0.092238135635853,0.073919519782066,0.092189393937588,0.034347224980593,-0.074496701359749,0.028730981051922,0.031215524300933,0.049798462539911,0.042829539626837,-0.009047052823007,-0.073065981268883,0.145994693040848,0.106521986424923,0.025229953229427,0.017172137275338) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.064651213586330,-0.131870105862617,0.047897357493639,0.082368552684784,0.059479657560587,-0.152903750538826,0.019964037463069,-0.016364643350244,0.001090862322599,-0.109060056507587,0.002410764107481,0.152460843324661,-0.576744198799133,0.289385765790939,-0.069292411208153,-0.003285362618044) * MODEL7_texOff(vec2(1,0));
res += mat4(0.092604957520962,-0.005894768051803,-0.168652921915054,0.019209176301956,0.147120565176010,-0.076209098100662,0.025203157216311,-0.087313674390316,0.043062765151262,0.012420277111232,-0.132711753249168,-0.085300587117672,-0.222955912351608,0.117939293384552,-0.093742005527020,-0.030589055269957) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.176302552223206,-0.026149570941925,0.083038240671158,-0.064059808850288,-0.028181403875351,-0.025084249675274,-0.042697936296463,0.024191519245505,0.044310044497252,-0.090920984745026,0.076134763658047,-0.006362329237163,-0.072878003120422,0.173102542757988,0.075434014201164,-0.025121513754129) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.111694432795048,0.009453499689698,-0.156959533691406,-0.071629539132118,-0.251115351915359,0.081996209919453,0.123007737100124,-0.144066676497459,-0.439781725406647,-0.120243839919567,-0.097545735538006,0.053068216890097,0.085968226194382,-0.120319746434689,-0.108072035014629,0.045548550784588) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.157165780663490,-0.073300741612911,0.005085899028927,0.068976968526840,-0.071048036217690,0.074692189693451,-0.158254012465477,0.006010453682393,-0.029799327254295,0.016212813556194,-0.007320963777602,-0.096316732466221,-0.115786425769329,-0.018518000841141,0.003512103576213,0.037102185189724) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.058852683752775,0.005116560496390,-0.116879470646381,0.140733584761620,0.049483124166727,-0.048428017646074,0.039352793246508,0.080060541629791,-0.312453806400299,-0.318624407052994,0.009621672332287,0.086958117783070,0.018886975944042,-0.029441038146615,-0.022442486137152,-0.034761633723974) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.160725489258766,0.196154624223709,0.092133633792400,-0.018383631482720,-0.044941525906324,-0.044633697718382,0.056343782693148,-0.101012021303177,-0.912091434001923,-0.152025669813156,-0.134059041738510,0.001801328500733,0.122375510632992,0.180396959185600,-0.053961310535669,-0.038490314036608) * MODEL8_texOff(vec2(0,0));
res += mat4(0.212014555931091,-0.054493099451065,-0.063268274068832,0.115899741649628,-0.123830467462540,0.044694345444441,-0.131670087575912,-0.075152389705181,-0.094391293823719,-0.073712594807148,0.080375425517559,-0.016434021294117,0.113863103091717,-0.062591135501862,-0.015192999504507,0.084586665034294) * MODEL8_texOff(vec2(0,1));
res += mat4(0.059456404298544,-0.065572984516621,0.055598661303520,-0.215111389756203,0.200820252299309,-0.029288748279214,0.017097078263760,-0.119409427046776,-0.036572515964508,-0.134425818920135,-0.019854485988617,-0.008653401397169,0.049627367407084,-0.027441514655948,-0.089429274201393,0.011284486390650) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.155273526906967,-0.016059394925833,0.013897506520152,-0.274437606334686,-0.102571591734886,-0.161585912108421,-0.052489425987005,0.049350138753653,-0.212887704372406,-0.088578745722771,0.007627907209098,-0.025229580700397,0.113464713096619,-0.106259815394878,0.034026507288218,0.021597132086754) * MODEL8_texOff(vec2(1,0));
res += mat4(0.167097225785255,-0.089260816574097,-0.251358211040497,0.100284457206726,0.177112683653831,-0.012823532335460,-0.009538949467242,0.049972862005234,0.113318599760532,-0.008341273292899,0.011337084695697,0.003181608626619,0.013730059377849,-0.010534449480474,0.110468231141567,0.192687749862671) * MODEL8_texOff(vec2(1,1));
res += mat4(0.074809066951275,-0.102463975548744,-0.030347086489201,0.065644532442093,-0.176976248621941,-0.048480518162251,0.035274475812912,-0.118691839277744,0.350708127021790,-0.018422219902277,0.040947120636702,-0.092061668634415,-0.131700605154037,-0.043045274913311,0.019160220399499,0.004640633240342) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.062345262616873,0.044663008302450,-0.057820174843073,0.178172245621681,-0.123226307332516,-0.149780899286270,-0.032015740871429,0.001758411759511,0.147448271512985,-0.041517756879330,0.089871957898140,-0.203665599226952,-0.024905085563660,0.001043543568812,0.029448058456182,0.066691771149635) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.076565966010094,0.066809825599194,0.194396913051605,0.210806980729103,-0.176411956548691,-0.094813421368599,0.008563671261072,0.061770725995302,0.129790052771568,-0.015809534117579,-0.003830339293927,0.089565515518188,-0.238826930522919,0.098714746534824,0.014429275877774,0.043910179287195) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.177072212100029,0.035499554127455,0.124062128365040,0.359028249979019,0.129594251513481,0.153673827648163,0.097067043185234,-0.078631229698658,0.201199829578400,-0.168728366494179,-0.084343336522579,-0.231616452336311,0.060024883598089,-0.028451863676310,0.030333392322063,0.105240255594254) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.244495093822479,-0.053735353052616,-0.062296379357576,-0.399129867553711,-0.191539674997330,-0.094349265098572,0.134291499853134,-0.100100040435791,-0.110154464840889,-0.143104627728462,-0.112640276551247,-0.212892070412636,0.224008455872536,-0.084668271243572,0.162754267454147,0.171320647001266) * MODEL9_texOff(vec2(0,0));
res += mat4(0.122830651700497,-0.021404799073935,0.068845652043819,-0.002925978973508,0.091255336999893,-0.024447135627270,-0.088286541402340,0.106274306774139,0.187972307205200,-0.030322426930070,-0.029169408604503,-0.024090671911836,-0.076935119926929,-0.103000260889530,0.289602696895599,-0.111446745693684) * MODEL9_texOff(vec2(0,1));
res += mat4(0.167911484837532,-0.042005937546492,-0.042994927614927,0.042896993458271,0.001988058444113,-0.113927528262138,0.007246003951877,-0.069799922406673,0.078368149697781,-0.136118710041046,-0.036772899329662,0.040351733565331,0.210634246468544,0.036948569118977,-0.001026555313729,-0.057373479008675) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.140452802181244,-0.055246029049158,-0.059562578797340,0.013334586285055,0.046668082475662,0.137181431055069,0.035766121000051,-0.091590203344822,0.279469490051270,-0.106173373758793,0.024225370958447,-0.012170033529401,0.084203079342842,0.010325367562473,-0.020716883242130,-0.033475007861853) * MODEL9_texOff(vec2(1,0));
res += mat4(0.143977239727974,-0.096257269382477,-0.030375979840755,-0.082541033625603,0.052782021462917,0.143087223172188,-0.075098313391209,0.187720566987991,0.118613027036190,-0.038557413965464,0.002039804356173,-0.046828385442495,0.131349459290504,0.038538787513971,0.007055901456624,0.032442227005959) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.045109808444977,0.056245218962431,0.143255054950714,-0.088405266404152,-0.097582027316093,-0.047750823199749,-0.024435341358185,0.166146755218506,0.148631304502487,-0.322117209434509,0.072405450046062,-0.031736128032207,-0.030997503548861,-0.089043959975243,-0.031766887754202,-0.077513389289379) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.037528179585934,-0.151787728071213,-0.089624300599098,-0.378883838653564,0.112205721437931,-0.205349788069725,0.083393268287182,-0.120491966605186,0.116549827158451,-0.021635152399540,0.073739610612392,-0.164979860186577,-0.018257519230247,0.151221558451653,0.020217925310135,0.049893934279680) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.071838602423668,0.029023569077253,-0.072862803936005,0.039523109793663,-0.018142947927117,-0.250189334154129,-0.057240642607212,-0.036740098148584,-0.101791270077229,0.091238699853420,-0.247145310044289,-0.047137696295977,0.087608985602856,0.055185165256262,0.095505319535732,-0.033043067902327) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.052182704210281,0.110287681221962,0.133603334426880,-0.051797300577164,0.115361757576466,-0.022816702723503,0.068153686821461,-0.111365295946598,0.003939472138882,-0.200308188796043,0.120716504752636,-0.151153996586800,-0.049437046051025,0.071311436593533,0.095916830003262,0.050274059176445) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.219413131475449,-0.012656982988119,-0.111326649785042,0.062476437538862,-0.035496126860380,-0.111147589981556,0.307012110948563,-0.114983968436718,0.061822254210711,-0.145882517099380,0.235073938965797,-0.037554442882538,-0.005096541717649,0.140502467751503,-0.006888479460031,0.163301840424538) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.131280228495598,-0.134842991828918,-0.057164046913385,0.007503683678806,-0.007847356610000,-0.184194073081017,0.039049971848726,-0.071763493120670,0.008684072643518,-0.215975329279900,-0.218318536877632,0.153511270880699,-0.059680528938770,-0.129000604152679,-0.196178689599037,-0.028572628274560) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.132717713713646,0.013241258449852,-0.066508352756500,-0.136219322681427,0.108255669474602,0.057578500360250,0.085505135357380,-0.063922390341759,-0.144172966480255,0.004766335710883,0.121333204209805,-0.102911971509457,0.104968369007111,0.056063733994961,-0.009913424961269,-0.122855216264725) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.046856209635735,-0.053629774600267,-0.018018804490566,-0.126053377985954,-0.055158697068691,0.064116634428501,0.038269907236099,0.045339226722717,0.049306172877550,0.094481408596039,0.018427668139338,0.050446461886168,-0.013593687675893,-0.099588207900524,0.025041958317161,-0.001687286538072) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.036787904798985,-0.178145468235016,0.056001234799623,0.005548991262913,-0.115265026688576,-0.021601997315884,-0.109772063791752,0.047149691730738,0.045630574226379,-0.073908030986786,-0.199053525924683,0.029038505628705,0.011038257740438,0.062956452369690,-0.050620108842850,-0.033942144364119) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.001142558292486,0.051008012145758,-0.033069923520088,-0.141360476613045,-0.240484446287155,-0.098854191601276,0.011865886859596,0.021884415298700,0.078190796077251,-0.139743432402611,-0.129604876041412,0.020088728517294,-0.007245217915624,-0.017057687044144,0.051223948597908,0.009328040294349) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.024868644773960,-0.070648938417435,-0.206447526812553,0.150678113102913,-0.005809742957354,-0.133198991417885,-0.083454959094524,-0.036912351846695,-0.165230646729469,-0.115971416234970,0.103617325425148,-0.152880802750587,-0.108136408030987,0.177571669220924,0.114234626293182,-0.017621401697397) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.157617464661598,-0.055203575640917,-0.059907987713814,0.037749845534563,0.178664952516556,-0.090544097125530,0.097939193248749,0.094270199537277,-0.057423107326031,0.202332302927971,0.168488234281540,-0.026968492195010,-0.081057153642178,0.240827932953835,-0.387679189443588,-0.095715567469597) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.152926892042160,0.101676866412163,-0.005933080334216,0.019998176023364,0.097209043800831,-0.019360758364201,-0.133507385849953,-0.086086638271809,0.046195000410080,-0.044565018266439,-0.045917909592390,0.106761142611504,0.005238154437393,-0.142160609364510,-0.100533246994019,0.107642292976379) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.136007040739059,-0.146324709057808,0.008223133161664,0.016534859314561,-0.198424115777016,0.035403855144978,0.026631630957127,-0.365871399641037,-0.114241451025009,-0.089985616505146,0.277530133724213,0.035158175975084,-0.234938740730286,-0.094877824187279,0.190736800432205,0.110077910125256) * MODEL11_texOff(vec2(0,0));
res += mat4(0.061751134693623,-0.103151015937328,0.230668008327484,-0.300977617502213,-0.116605363786221,-0.109213098883629,0.096016995608807,0.088760539889336,-0.039844788610935,-0.053048577159643,0.127411305904388,-0.121852226555347,-0.201526880264282,0.033666748553514,-0.571056604385376,-0.044271431863308) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.134802818298340,0.088078416883945,-0.022317523136735,0.020337305963039,0.177971139550209,0.181712031364441,0.041601832956076,0.015301848761737,-0.025102933868766,-0.054335653781891,-0.071758717298508,-0.029488900676370,0.012825843878090,0.013816392980516,0.012107877060771,-0.019267048686743) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.235885649919510,-0.029501797631383,0.077537126839161,-0.159976661205292,0.090335331857204,0.128428712487221,-0.054572027176619,0.063285432755947,0.056177575141191,0.087318487465382,0.114813834428787,-0.023786151781678,0.110225476324558,-0.128031671047211,0.037546038627625,0.082501813769341) * MODEL11_texOff(vec2(1,0));
res += mat4(0.099428787827492,0.103967539966106,0.008288742043078,-0.009439957328141,-0.123199991881847,0.028484432026744,0.019870147109032,0.121609665453434,-0.163905799388885,0.046144742518663,-0.106877006590366,0.124874942004681,-0.057902701199055,-0.177435085177422,-0.057098988443613,0.020100722089410) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.069861516356468,-0.108460247516632,0.173763453960419,-0.074644513428211,0.111815713346004,-0.036627832800150,-0.102489583194256,0.000393638445530,0.123543031513691,-0.054104182869196,-0.026411613449454,0.098183996975422,0.222018420696259,0.054536327719688,-0.012902239337564,0.032550960779190) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.237945750355721,-0.040413077920675,0.031961921602488,-0.235313519835472,-0.367832332849503,0.258250564336777,0.057287693023682,0.046645041555166,0.026545580476522,0.058154813945293,0.010609671473503,0.087327696382999,-0.017103135585785,0.098702579736710,-0.008106714114547,0.062236472964287) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.107821539044380,0.065105386078358,-0.128476306796074,0.255552172660828,-0.274012655019760,0.166239455342293,-0.003781965235248,0.021912762895226,-0.028548974543810,-0.019925151020288,0.015236337669194,-0.000284246227238,0.179563149809837,-0.012236469425261,0.019668385386467,-0.018428968265653) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.235955893993378,-0.104648850858212,0.124838925898075,-0.099155671894550,-0.057737957686186,-0.033718988299370,0.035708781331778,0.061919022351503,0.203057810664177,-0.069582894444466,0.174588471651077,-0.126894995570183,0.107683673501015,-0.029210003092885,0.035785455256701,0.083721742033958) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.033674363046885,0.029938057065010,0.054941080510616,-0.103198662400246,-0.072752006351948,0.221288725733757,-0.012154734693468,-0.106478080153465,-0.377273976802826,-0.145725771784782,0.010247715748847,-0.128002747893333,-0.197552040219307,-0.194437548518181,0.005126466508955,0.145735308527946) * MODEL12_texOff(vec2(0,0));
res += mat4(0.076656259596348,0.044998146593571,-0.058548167347908,-0.049739498645067,-0.256807595491409,-0.094732634723186,-0.136034473776817,0.175135523080826,-0.140887558460236,-0.193398550152779,0.075043067336082,0.126291573047638,-0.183919787406921,-0.233399122953415,-0.002827066695318,-0.105287194252014) * MODEL12_texOff(vec2(0,1));
res += mat4(0.048258513212204,-0.079913295805454,0.042076352983713,-0.094778425991535,0.127843841910362,0.061947606503963,0.047521147876978,0.029488217085600,0.103138685226440,-0.002797227352858,0.070850081741810,-0.109745562076569,0.003272807225585,-0.078364700078964,-0.014680600725114,0.099580280482769) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.041185740381479,-0.129121705889702,-0.080328121781349,0.042847551405430,0.079759515821934,-0.108036778867245,-0.001306344871409,-0.025228595361114,-0.065113037824631,0.098957344889641,-0.143870845437050,0.106781736016273,-0.224179491400719,-0.092407368123531,-0.006294341292232,0.112365409731865) * MODEL12_texOff(vec2(1,0));
res += mat4(0.131438687443733,-0.056284494698048,-0.032499700784683,0.029135605320334,-0.091713845729828,-0.238844782114029,0.013404857367277,0.047478936612606,-0.022657694295049,0.053853254765272,-0.018292028456926,-0.122153572738171,0.240823820233345,0.050755489617586,-0.104673296213150,0.164723291993141) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.008770979009569,0.075185663998127,-0.348216235637665,0.396022498607635) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE1
//!SAVE MODEL7
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 4_1

vec4 hook()
{
vec4 res = vec4(0.282160907983780,-0.224562212824821,0.056668777018785,-0.156349599361420);
res += mat4(0.062427435070276,-0.056289196014404,0.077500455081463,0.353441834449768,0.112851552665234,0.057570371776819,-0.052195064723492,0.061237152665854,0.085206232964993,0.024512561038136,-0.003485377179459,-0.057583499699831,-0.052055634558201,0.034459196031094,-0.212801471352577,0.007303878664970) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.095857106149197,0.042011499404907,0.145681396126747,-0.229530155658722,0.064490914344788,-0.030594795942307,-0.487769037485123,-0.078977480530739,-0.079015851020813,-0.013794744387269,-0.017701504752040,-0.048128947615623,-0.050371956080198,0.115837141871452,-0.406993240118027,-0.133112743496895) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.059277687221766,0.078946866095066,0.027218149974942,0.187236353754997,-0.090154014527798,0.087845571339130,-0.339198857545853,0.030187910422683,-0.017212657257915,-0.008088611997664,0.143167093396187,-0.092924244701862,0.001215107040480,0.009130137972534,-0.220442190766335,0.048805952072144) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.144434362649918,-0.055094003677368,-0.089376047253609,0.091102071106434,0.109687380492687,0.015314820222557,-0.044768031686544,-0.043283388018608,0.103194743394852,-0.041380900889635,0.057419907301664,-0.242854043841362,-0.048267617821693,0.180802643299103,-0.123494908213615,-0.105697132647038) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.002486749552190,0.049502350389957,-0.044297169893980,0.067257851362228,0.005817134864628,0.220166191458702,-0.070042289793491,-0.032790102064610,0.090254455804825,-0.080202534794807,0.089749589562416,-0.088552989065647,-0.104624912142754,0.192032217979431,-0.053581897169352,-0.052734199911356) * MODEL1_texOff(vec2(0,0));
res += mat4(0.048446781933308,0.003268386470154,0.008232124149799,0.048708871006966,-0.253496468067169,0.200896501541138,0.099189653992653,-0.000585652538575,-0.245092839002609,-0.080743439495564,-0.056942742317915,-0.143896803259850,-0.258675068616867,-0.160258039832115,-0.049298632889986,0.054784402251244) * MODEL1_texOff(vec2(0,1));
res += mat4(0.020271666347980,0.067914783954620,-0.128959611058235,0.015691345557570,0.011756943538785,-0.064016401767731,-0.023675469681621,0.032681897282600,0.206194013357162,-0.022153433412313,-0.084907956421375,-0.036004129797220,0.030266694724560,-0.010168832726777,-0.044741749763489,0.059786766767502) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.006752567831427,0.061359461396933,-0.062733806669712,0.184059739112854,-0.246702477335930,-0.034474015235901,0.093430675566196,-0.048498380929232,-0.018331322818995,0.030826935544610,-0.074684977531433,0.063502706587315,0.011427768506110,-0.049236644059420,0.036190956830978,-0.070256091654301) * MODEL1_texOff(vec2(1,0));
res += mat4(0.032648757100105,-0.071556106209755,-0.043191377073526,-0.222031429409981,-0.116737224161625,0.040847275406122,0.125389158725739,-0.001413986785337,-0.137857675552368,-0.029861969873309,0.016572002321482,-0.071082487702370,-0.193408101797104,-0.037530422210693,-0.027483597397804,-0.110225118696690) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.256147176027298,0.041290733963251,-0.013843013904989,-0.091837897896767,-0.015694651752710,0.305865406990051,0.042901132255793,0.054807890206575,-0.024974856525660,-0.075423076748848,-0.051685635000467,-0.122902065515518,-0.178343147039413,-0.021056447178125,0.066061317920685,-0.225063130259514) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.038769356906414,-0.086690932512283,0.179880723357201,-0.197856113314629,-0.042540963739157,0.428989648818970,0.297958940267563,-0.001305641722865,-0.029527382925153,-0.098890244960785,-0.102359533309937,-0.200254589319229,-0.248472616076469,-0.255464047193527,0.036954309791327,0.002596039324999) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.255832344293594,-0.006483272649348,0.103057339787483,-0.148194164037704,-0.138117045164108,-0.093605570495129,0.173402503132820,0.137876480817795,0.037306044250727,-0.061929769814014,0.086724691092968,0.081491209566593,-0.271935880184174,0.030251068994403,0.161732479929924,-0.260370939970016) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.082804158329964,-0.207315266132355,0.026525998488069,-0.096577510237694,-0.086054123938084,0.097994670271873,-0.014034170657396,-0.040657501667738,0.032784834504128,0.049422413110733,0.083482690155506,-0.227619424462318,-0.097451739013195,0.114753589034081,-0.047923821955919,-0.070446372032166) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.091649413108826,0.038291279226542,-0.092536173760891,0.052921276539564,-0.264362305402756,0.127958059310913,-0.044464413076639,-0.027478985488415,0.031721442937851,0.162679359316826,-0.036452442407608,0.025228712707758,-0.051477469503880,-0.050399888306856,0.010051238350570,0.127682775259018) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.050564549863338,-0.012684540823102,0.025449778884649,0.023290917277336,-0.314688980579376,0.141493737697601,-0.041921105235815,0.096691682934761,0.137785911560059,-0.043901748955250,-0.081268131732941,0.019141936674714,0.306156188249588,0.176637187600136,0.047975126653910,-0.165406137704849) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.077314764261246,-0.049991313368082,0.050435367971659,0.039259817451239,0.057237286120653,-0.001402201596648,0.018878176808357,-0.063826717436314,-0.073356434702873,0.078838452696800,0.011476933956146,-0.096428021788597,-0.014349369332194,0.124451950192451,-0.088221065700054,-0.132710456848145) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.126765459775925,-0.086589731276035,0.043820329010487,0.197571903467178,0.305637627840042,-0.061597075313330,-0.040474820882082,-0.074067823588848,-0.067810207605362,-0.005525202490389,0.031129634007812,0.017458900809288,-0.084666289389133,0.086627513170242,-0.029014818370342,0.097216188907623) * MODEL2_texOff(vec2(1,0));
res += mat4(0.237586230039597,-0.070701472461224,0.065694957971573,0.076126806437969,0.107554703950882,0.050199486315250,-0.105986490845680,0.058817915618420,0.018117867410183,-0.033883895725012,-0.003826447995380,-0.141507372260094,0.168888077139854,0.231798917055130,-0.017085675150156,-0.041397590190172) * MODEL2_texOff(vec2(1,1));
res += mat4(0.045400016009808,0.082043670117855,0.062365062534809,0.029912970960140,0.033082593232393,0.054798524826765,-0.119669809937477,-0.029169434681535,0.059706535190344,-0.003769554197788,-0.031373839825392,0.080065466463566,0.023362781852484,0.149270877242088,0.146740630269051,-0.163902953267097) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.089737676084042,0.063237681984901,0.533604562282562,0.188395842909813,0.114080742001534,0.039733923971653,-0.262525349855423,0.071406833827496,0.001835693139583,-0.030959511175752,0.124512754380703,-0.073386259377003,-0.074087448418140,0.169145122170448,-0.002990487497300,0.125960305333138) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.094143159687519,0.031931649893522,0.365867853164673,0.001270327134989,0.080268070101738,0.094714924693108,0.072260834276676,-0.073568776249886,-0.036270640790462,-0.055184397846460,-0.128806859254837,0.089158497750759,-0.013940707780421,-0.009988899342716,-0.172190725803375,0.061184063553810) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.157908782362938,0.101901456713676,-0.023079795762897,-0.145234286785126,0.094574436545372,0.037061128765345,0.083714127540588,0.076229594647884,0.096446342766285,0.050789773464203,0.025368107482791,-0.076655365526676,0.044756826013327,0.011610283516347,-0.163807049393654,0.060826037079096) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.110055923461914,-0.141569986939430,-0.080680720508099,-0.084013238549232,0.169470041990280,0.120672188699245,0.275420099496841,0.159136861562729,-0.040684983134270,0.070639923214912,-0.095501840114594,0.041750665754080,0.185614839196205,-0.314452946186066,-0.219007432460785,-0.229258105158806) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.084085114300251,0.059864848852158,-0.028438242152333,-0.097169674932957,-0.101143032312393,0.013359196484089,0.034420933574438,0.067087270319462,-0.096319288015366,-0.316098570823669,0.046249147504568,-0.244118615984917,-0.209484249353409,-0.050216760486364,-0.020712571218610,-0.140915006399155) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.099256791174412,0.090596392750740,-0.043579433113337,0.025567311793566,0.080662466585636,0.004579062573612,0.021147117018700,-0.002639640821144,-0.004609405528754,0.017666772007942,-0.050578244030476,-0.078841552138329,-0.007542910985649,-0.051131669431925,-0.015140961855650,-0.111216850578785) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.112082943320274,0.072900295257568,0.015139612369239,0.087230354547501,-0.287457734346390,-0.122972927987576,-0.031792096793652,0.195806726813316,-0.069374606013298,-0.025316772982478,-0.082531020045280,-0.013171246275306,-0.025974579155445,-0.092757731676102,0.027992499992251,-0.062976352870464) * MODEL3_texOff(vec2(1,0));
res += mat4(0.022536231204867,0.066897317767143,-0.018350265920162,0.002195283072069,-0.198674738407135,0.024829870089889,-0.010331360623240,-0.081036210060120,0.029698105528951,-0.193536520004272,0.052876103669405,0.008043522946537,-0.165027022361755,0.039957415312529,0.009688968770206,-0.272659391164780) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.085287496447563,-0.020788434892893,0.001495297881775,-0.013929222710431,0.123219288885593,0.108878247439861,-0.086117140948772,0.017325967550278,0.074636086821556,-0.117538958787918,-0.096186801791191,-0.103016905486584,0.283880859613419,-0.041822563856840,0.034902248531580,0.098692446947098) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.035792004317045,0.066392116248608,0.042518325150013,-0.073667496442795,-0.068241603672504,0.089283294975758,-0.093505144119263,-0.126721784472466,-0.171078756451607,0.013802634552121,-0.162059098482132,-0.139343738555908,-0.041096724569798,-0.026160957291722,0.202607572078705,-0.136700928211212) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.041402962058783,-0.030862001702189,-0.080265767872334,0.053144592791796,-0.017789391800761,-0.142497926950455,-0.077245995402336,-0.147290900349617,0.157989397644997,-0.050968814641237,0.056358192116022,-0.034054942429066,-0.044890064746141,-0.064613483846188,0.086918130517006,-0.112282544374466) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.026735469698906,0.038931425660849,0.007771736476570,0.069311797618866,-0.005113727878779,0.058987751603127,-0.015679039061069,-0.006451185792685,-0.050365116447210,0.169309228658676,-0.013799188658595,-0.079555273056030,0.101214803755283,-0.089823946356773,0.043006256222725,0.187001347541809) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.048960078507662,0.043836511671543,0.014761617407203,0.161573737859726,-0.277444720268250,-0.023823734372854,0.003846233244985,0.195660218596458,-0.657231450080872,0.259974867105484,-0.023439226672053,-0.015179282054305,-0.129359811544418,-0.249131515622139,-0.082519739866257,0.171332031488419) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.023419953882694,0.199945330619812,-0.117431007325649,-0.057647891342640,-0.064517267048359,-0.027902979403734,-0.102523326873779,-0.090155012905598,-0.249826997518539,-0.040385302156210,-0.009978762827814,0.054806958884001,0.010140798054636,0.063987895846367,-0.104123637080193,0.127268224954605) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.141318529844284,-0.106385894119740,-0.038591802120209,-0.003651362843812,-0.056646436452866,-0.013131950981915,0.009497903287411,0.113200806081295,0.168143749237061,0.106629371643066,-0.005896408576518,0.037631426006556,0.133902981877327,-0.032483857125044,0.017667341977358,-0.069328099489212) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.199339002370834,-0.055427696555853,-0.057374794036150,0.066271126270294,-0.230884537100792,-0.153110221028328,-0.048602867871523,0.350768297910690,-0.529389202594757,0.232229650020599,0.137599959969521,0.013218494132161,0.066624961793423,-0.118952363729477,0.025677297264338,0.046003546565771) * MODEL4_texOff(vec2(1,0));
res += mat4(0.199527740478516,-0.045418623834848,-0.030286516994238,0.164943888783455,0.061282794922590,0.057946857064962,-0.063610762357712,0.175263434648514,-0.353993386030197,0.075231052935123,0.032526459544897,0.026512680575252,0.188695207238197,-0.014612009748816,-0.101733282208443,0.067323580384254) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.037368405610323,0.146678686141968,-0.142598628997803,0.049039013683796,-0.134516924619675,0.117322146892548,0.130528762936592,-0.109252743422985,-0.080005101859570,0.148680388927460,0.102317363023758,-0.037007819861174,0.070332221686840,-0.179355040192604,-0.073326416313648,0.241307258605957) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.128133133053780,0.132166981697083,-0.839124619960785,-0.016511322930455,0.025024803355336,-0.000157811271492,0.358764559030533,0.104139454662800,-0.195974782109261,0.040970500558615,0.088147260248661,-0.188853725790977,0.037928156554699,-0.002088024979457,-0.098902754485607,-0.178287237882614) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.044205270707607,0.191147655248642,-0.209077641367912,-0.107273317873478,0.004216036759317,-0.095320522785187,0.024170402437449,0.001793723786250,-0.046085022389889,-0.083095654845238,-0.105377025902271,-0.001508909859695,-0.196400627493858,0.022460781037807,-0.089902698993683,0.309607237577438) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.043049868196249,0.037907890975475,-0.088530868291855,0.126437842845917,-0.096399322152138,0.043643988668919,0.012951626442373,0.051758393645287,-0.099166080355644,-0.053411498665810,-0.066589407622814,0.166995599865913,0.081904023885727,0.028666008263826,0.040199533104897,0.137114807963371) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.119957767426968,-0.013345835730433,0.041859656572342,-0.213177859783173,-0.127704471349716,0.013742546550930,-0.231931880116463,-0.017586110159755,-0.344224542379379,-0.090401068329811,0.040845535695553,0.015961166471243,0.055389150977135,0.074153959751129,-0.104793854057789,-0.097367860376835) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.048835933208466,-0.059056561440229,-0.007510214578360,-0.213383823633194,0.129520013928413,-0.150144189596176,0.006329826079309,-0.155901640653610,-0.031198285520077,0.118868991732597,0.104132227599621,0.183853730559349,-0.329271882772446,-0.166756913065910,0.053810019046068,-0.012246371246874) * MODEL5_texOff(vec2(0,1));
res += mat4(0.031957224011421,0.023637823760509,0.015557973645627,0.104277871549129,-0.233954817056656,-0.067152664065361,-0.071941353380680,0.028402995318174,0.036356713622808,-0.020172785967588,-0.014058719389141,0.174607351422310,0.040071457624435,0.017800264060497,0.018288876861334,0.016597243025899) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.030316142365336,-0.176112204790115,-0.117604061961174,-0.061838023364544,0.012250508181751,0.035926673561335,-0.133419036865234,-0.008081042207778,-0.209390461444855,-0.086884193122387,0.014821611344814,-0.100002184510231,-0.008526877500117,-0.032227180898190,0.013420253060758,0.001735842437483) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.204680383205414,-0.137497305870056,-0.013315252028406,0.221909090876579,0.127197563648224,-0.067626141011715,-0.033660240471363,-0.100530683994293,-0.136149391531944,0.033031690865755,0.044825095683336,0.020933108404279,-0.250293076038361,-0.285352140665054,0.057417154312134,0.099202953279018) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.049234822392464,0.127911776304245,-0.006809980142862,0.162828505039215,0.072815358638763,0.035971969366074,0.039881274104118,-0.008419330231845,0.146658435463905,0.085410326719284,0.020276295021176,-0.007498584687710,-0.004658315330744,0.023009136319160,-0.090134218335152,-0.044089067727327) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.047780938446522,-0.164569050073624,0.085777498781681,0.177587151527405,0.131508022546768,0.012342631816864,-0.347512125968933,0.038546562194824,-0.168940499424934,0.088205985724926,0.189118221402168,0.127701506018639,-0.042979698628187,0.110172346234322,-0.015438890084624,0.223830580711365) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.185886844992638,-0.100227616727352,-0.053081229329109,0.002723474521190,-0.035285457968712,-0.017171520739794,-0.076219826936722,0.056918550282717,-0.175176158547401,-0.063362106680870,-0.042305745184422,0.051307637244463,-0.027081958949566,-0.151552721858025,-0.082801014184952,0.140336439013481) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.090114876627922,-0.018494974821806,-0.060536205768585,0.077349223196507,-0.143255606293678,-0.083554580807686,0.003657782683149,-0.087373211979866,0.041030406951904,0.169857516884804,0.014939767308533,0.034462727606297,0.142541155219078,-0.117608800530434,0.066750623285770,-0.101559944450855) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.181397378444672,-0.072959214448929,-0.117306366562843,-0.022429471835494,0.000212907441892,0.122096672654152,0.071860872209072,0.050313193351030,-0.481314241886139,0.136858657002449,-0.039304323494434,0.219033196568489,0.253475695848465,0.272924333810806,-0.063526459038258,0.192789942026138) * MODEL6_texOff(vec2(0,0));
res += mat4(0.270381391048431,-0.200853258371353,-0.144710108637810,0.210999429225922,0.188852116465569,0.060907710343599,-0.099931977689266,0.056170914322138,-0.241727232933044,0.022308919578791,0.046509493142366,0.037268627434969,0.066042743623257,-0.132019326090813,0.012852267362177,0.126807764172554) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.011097249574959,-0.050500676035881,-0.033958930522203,0.168296426534653,-0.081210128962994,0.011061985976994,-0.012149618938565,-0.217487066984177,-0.140865653753281,-0.009223535656929,0.006411039736122,-0.001065288321115,-0.086015358567238,-0.021400781348348,0.061644326895475,-0.089155107736588) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.067424595355988,-0.022341048344970,0.020610315725207,0.121100760996342,-0.041241578757763,0.001578454510309,0.159628540277481,-0.102782547473907,0.041773539036512,-0.079714082181454,0.025450807064772,0.160485312342644,-0.040198974311352,0.001942074624822,0.104645110666752,-0.115597166121006) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.018280711025000,-0.100651040673256,0.006854566279799,0.167323753237724,-0.120611317455769,-0.048315402120352,-0.018275124952197,-0.019567737355828,-0.079858295619488,-0.089312382042408,0.042073424905539,-0.036014683544636,-0.224122181534767,-0.063113801181316,0.026260528713465,-0.006574675906450) * MODEL6_texOff(vec2(1,1));
res += FEATURE1_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.035463891923428,0.301131129264832,-0.004067116416991,0.375629276037216) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE2
//!SAVE MODEL8
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 4_2

vec4 hook()
{
vec4 res = vec4(0.262168049812317,0.210204496979713,-0.067973755300045,-0.015497845597565);
res += mat4(0.169358789920807,0.042465429753065,-0.263028889894485,0.132597669959068,0.113363385200500,0.063075669109821,-0.059397615492344,-0.189894035458565,-0.069947592914104,0.091330282390118,0.041044879704714,-0.072947785258293,0.153637349605560,0.114627152681351,-0.146594017744064,0.254495590925217) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.078225389122963,0.079512223601341,-0.076214186847210,0.090164713561535,0.012507836334407,0.009433343075216,-0.007212572731078,-0.110290043056011,-0.109674498438835,-0.055971954017878,0.060453146696091,0.111127138137817,0.253240644931793,0.070979014039040,-0.020722411572933,0.087231211364269) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.104728013277054,-0.169286072254181,-0.215150132775307,0.017192285507917,-0.055430512875319,0.081354238092899,0.058577656745911,-0.063298694789410,0.008164021186531,-0.031829848885536,-0.114730715751648,0.039395466446877,0.122906230390072,0.155780509114265,0.091266743838787,0.004203651566058) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.093162864446640,0.043758071959019,-0.063498228788376,0.060943607240915,-0.001640230300836,-0.077212005853653,-0.045022245496511,-0.006070147268474,0.023964140564203,0.213553756475449,0.093217939138412,-0.158351287245750,0.111693441867828,0.238522842526436,-0.019870057702065,0.161105751991272) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.207792356610298,-0.009914122521877,0.117838986217976,-0.052896022796631,-0.285932183265686,-0.260270476341248,0.118709750473499,-0.224430054426193,0.102293729782104,0.410369157791138,0.278547912836075,0.187101587653160,0.108559407293797,0.041451778262854,0.048879206180573,0.125554412603378) * MODEL1_texOff(vec2(0,0));
res += mat4(0.189662426710129,0.006146206054837,-0.077137902379036,-0.076543420553207,-0.182847350835800,-0.287284523248672,0.200435161590576,-0.136783197522163,0.063375510275364,-0.393520653247833,0.083342857658863,-0.073683463037014,0.002158394781873,0.060347169637680,0.281727671623230,0.027600832283497) * MODEL1_texOff(vec2(0,1));
res += mat4(0.075321093201637,-0.109494261443615,0.071408018469810,0.091452911496162,0.123841106891632,0.020899577066302,-0.048668812960386,0.071983091533184,0.161167398095131,0.045553643256426,-0.115192711353302,0.016542181372643,0.002025648253039,0.164401859045029,-0.126639485359192,0.093771219253540) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.170517608523369,0.296396940946579,0.142419427633286,0.068642511963844,-0.198856800794601,-0.064286112785339,0.082952223718166,-0.026861224323511,0.160037830471992,0.028975645080209,-0.118799448013306,0.066367037594318,-0.018068354576826,0.135055750608444,0.159835726022720,0.067498058080673) * MODEL1_texOff(vec2(1,0));
res += mat4(0.120639748871326,0.166147381067276,0.001812536967918,-0.072192654013634,0.015195859596133,-0.096868813037872,0.097030155360699,-0.124100215733051,-0.092462040483952,-0.062976710498333,-0.043723691254854,-0.016470996662974,0.007213345263153,-0.028864158317447,0.077559247612953,0.029365301132202) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.026140604168177,-0.082460962235928,-0.003719957545400,0.195957079529762,-0.069414615631104,0.086845137178898,-0.236305668950081,0.269150525331497,-0.057010062038898,0.076103836297989,-0.035993695259094,-0.102583542466164,-0.221582993865013,-0.017722081393003,0.164635658264160,-0.026969293132424) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.000329744681949,-0.006487987935543,-0.225081205368042,0.047946643084288,-0.173758685588837,0.121483281254768,0.053678598254919,0.165780752897263,0.036983240395784,-0.021132899448276,0.066148042678833,0.132924959063530,0.030584121122956,0.048251092433929,-0.019205717369914,0.050949189811945) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.067667633295059,0.153004392981529,0.088082686066628,-0.022037634626031,-0.052645787596703,0.123728744685650,0.086405955255032,0.051255144178867,0.042734298855066,0.064862988889217,-0.098620370030403,-0.072544559836388,0.050656095147133,-0.107895687222481,0.271659106016159,0.118731908500195) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.083400070667267,0.033515073359013,0.023202737793326,0.074937537312508,-0.029757987707853,-0.038456186652184,-0.076454535126686,0.061078075319529,-0.144518226385117,-0.036393687129021,0.152268469333649,-0.107392959296703,-0.186858296394348,0.052412807941437,0.191308304667473,0.095247082412243) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.051420178264380,0.144320607185364,-0.029373304918408,0.072495549917221,-0.184186413884163,0.034075528383255,0.144108876585960,0.013012051582336,-0.197637289762497,-0.240535229444504,-0.189897641539574,0.034650411456823,0.105859242379665,0.087718598544598,0.025064308196306,0.150814667344093) * MODEL2_texOff(vec2(0,0));
res += mat4(0.001511880545877,0.029859730973840,0.120479330420494,-0.050148643553257,0.114810235798359,-0.002492001280189,0.139374837279320,0.130067989230156,-0.016974229365587,0.144302055239677,0.251906871795654,-0.070251546800137,0.181797415018082,0.134386435151100,0.142993345856667,0.150454819202423) * MODEL2_texOff(vec2(0,1));
res += mat4(0.004948694258928,-0.018686123192310,0.137000188231468,0.014565822668374,0.072722800076008,0.006762596778572,0.036427859216928,-0.019720910117030,0.067599356174469,0.015275044366717,0.062528178095818,0.031936060637236,-0.023598955944180,0.047368105500937,0.116762831807137,-0.066710568964481) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.095973044633865,0.164880946278572,0.036482788622379,-0.174726217985153,0.171448737382889,0.061965003609657,0.039029963314533,0.094570919871330,-0.106375068426132,0.053406294435263,-0.160692736506462,-0.011237895116210,0.123514652252197,0.136412188410759,-0.051135279238224,0.069158419966698) * MODEL2_texOff(vec2(1,0));
res += mat4(0.035292781889439,0.079455047845840,0.013274708762765,-0.085563570261002,0.125713467597961,0.172703832387924,-0.048853751271963,0.098838187754154,0.050482023507357,-0.002956682117656,-0.007350828032941,-0.081539377570152,0.011170788668096,0.082438729703426,-0.057996831834316,0.086745060980320) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.167475447058678,0.076125875115395,0.097714595496655,-0.011352852918208,-0.058402668684721,-0.065805703401566,-0.072219505906105,-0.036303866654634,-0.090181514620781,-0.026340169832110,-0.022539839148521,-0.041184138506651,0.204219490289688,-0.148946002125740,-0.072741977870464,-0.082715801894665) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.000922111794353,-0.066837474703789,-0.050737608224154,0.067402265965939,-0.101092599332333,0.079731471836567,0.057409729808569,-0.126818075776100,0.044652942568064,0.001836660900153,0.027211576700211,-0.169642299413681,0.070137061178684,0.053830105811357,0.052460461854935,-0.174232304096222) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.156269356608391,-0.107344031333923,-0.057607345283031,0.057976156473160,-0.123085223138332,0.040901184082031,-0.002863481175154,0.021749233826995,0.133715525269508,0.058665528893471,-0.031017627567053,0.026169378310442,0.081778883934021,0.150505065917969,0.056237380951643,-0.080513156950474) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.179730281233788,0.057244129478931,0.075221277773380,-0.130135565996170,-0.357917338609695,-0.092313490808010,-0.030586147680879,0.026348693296313,0.048496969044209,-0.001059788861312,0.094777971506119,-0.127078205347061,-0.069905161857605,-0.046170517802238,-0.107792519032955,-0.068090006709099) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.025761144235730,-0.004155769944191,0.054171942174435,0.086205884814262,-0.752551615238190,-0.086692303419113,-0.024082273244858,-0.102813184261322,0.110130131244659,-0.066850021481514,-0.101518191397190,0.374117821455002,0.082094125449657,-0.011216264218092,0.440965801477432,0.196009084582329) * MODEL3_texOff(vec2(0,0));
res += mat4(0.033717736601830,0.087511889636517,-0.005640936084092,-0.044747926294804,-0.369166702032089,0.091740198433399,0.024302791804075,0.005274802912027,-0.219170659780502,0.369189888238907,0.048824347555637,-0.133692458271980,-0.127803161740303,-0.031830750405788,-0.071484848856926,-0.004204591736197) * MODEL3_texOff(vec2(0,1));
res += mat4(0.164557188749313,-0.001824219129048,-0.040022164583206,-0.094356425106525,-0.312671184539795,0.010028143413365,0.271713823080063,-0.142324730753899,0.072306334972382,0.070181623101234,-0.073191821575165,0.013215128332376,-0.081234514713287,0.041743516921997,0.091254435479641,0.017882164567709) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.094563230872154,0.086796775460243,0.025333274155855,0.022914811968803,-0.517473697662354,-0.163764536380768,-0.057381827384233,-0.304180264472961,-0.030692370608449,0.204906627535820,0.037409458309412,-0.040030077099800,-0.080727867782116,0.057889800518751,-0.160491377115250,-0.001693650381640) * MODEL3_texOff(vec2(1,0));
res += mat4(0.015729486942291,-0.086404249072075,-0.012667343951762,-0.055852524936199,-0.577688694000244,0.010840328410268,-0.228544160723686,0.002100649056956,-0.064608938992023,0.169126942753792,-0.041258320212364,-0.053972575813532,-0.031277231872082,-0.068836510181427,0.089421480894089,-0.078013494610786) * MODEL3_texOff(vec2(1,1));
res += mat4(0.046616185456514,0.115974791347980,-0.075759783387184,0.144868120551109,-0.030734181404114,-0.323912650346756,-0.146988987922668,0.182036116719246,0.104899622499943,0.037411283701658,0.011550768278539,0.133101493120193,0.051768243312836,-0.174176767468452,-0.115845769643784,-0.051762204617262) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.037102278321981,0.170124679803848,0.077695772051811,-0.042131360620260,-0.105470217764378,-0.091090872883797,0.036054130643606,0.008029274642467,0.227588385343552,-0.000718982366379,0.091161809861660,-0.033292602747679,-0.348051428794861,-0.046861205250025,-0.110421307384968,-0.119543910026550) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.050685785710812,0.003451924072579,-0.057327341288328,0.021490115672350,0.124615706503391,-0.034402016550303,0.022245889529586,-0.058778356760740,0.035870622843504,-0.024807298555970,0.029051477089524,-0.012013900093734,-0.224314570426941,0.013788757845759,-0.158119574189186,-0.012404933571815) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.060438334941864,0.131693914532661,0.118412360548973,0.036400109529495,-0.005563141312450,-0.303953766822815,-0.132062479853630,-0.120911262929440,-0.087590277194977,0.104348026216030,0.038666564971209,0.084905549883842,-0.112799070775509,-0.016444720327854,-0.039254836738110,-0.046661563217640) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.165282845497131,-0.261434972286224,-0.140524029731750,0.026990553364158,-0.223516747355461,-0.279735296964645,-0.093933656811714,0.065184123814106,-0.045678779482841,-0.129538878798485,-0.325014084577560,0.098897449672222,0.024490233510733,-0.064146317541599,0.049437057226896,0.177509739995003) * MODEL4_texOff(vec2(0,0));
res += mat4(0.047739278525114,0.081668548285961,0.011650758795440,0.074761807918549,0.126698777079582,-0.256715625524521,-0.027542605996132,0.084943488240242,0.093762286007404,0.034914031624794,-0.070017449557781,-0.019015224650502,-0.073571071028709,0.024392591789365,-0.072400331497192,0.093472175300121) * MODEL4_texOff(vec2(0,1));
res += mat4(0.080828130245209,0.067218109965324,0.079331882297993,-0.049584031105042,0.035030156373978,-0.152777805924416,-0.044040594249964,-0.215288206934929,0.207714840769768,0.041196491569281,-0.034516379237175,0.061169140040874,0.096163176000118,-0.012192879803479,-0.033542625606060,-0.029922634363174) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.143634036183357,-0.044359572231770,-0.052082367241383,0.024828398600221,-0.213187858462334,-0.214304685592651,-0.055497888475657,-0.047033526003361,0.200043991208076,-0.063828952610493,-0.209673359990120,0.001553137437440,0.029173405840993,0.059426143765450,-0.042129624634981,0.100775681436062) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.056228596717119,0.020072024315596,0.026602953672409,0.081320524215698,-0.005151862744242,0.088732928037643,0.035417672246695,0.048676189035177,0.150164932012558,0.007312670350075,-0.022645875811577,-0.012175955809653,0.045678652822971,0.104354545474052,-0.051422037184238,0.141520738601685) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.008524849079549,-0.105032563209534,-0.081449963152409,0.007818564772606,0.079342797398567,0.041700292378664,0.007902089506388,0.215609326958656,0.030280362814665,-0.033166646957397,0.109274342656136,-0.279065579175949,0.046623937785625,-0.063312634825706,-0.000910581613425,0.018941141664982) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.070299953222275,0.034120585769415,0.113585598766804,-0.105662606656551,-0.061950471252203,0.044189326465130,0.083180554211140,-0.128654867410660,0.037486147135496,0.025527756661177,0.007866596803069,-0.111694410443306,0.297186791896820,-0.086121045053005,0.111202441155910,-0.047241818159819) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.028845261782408,0.086186081171036,0.039125442504883,0.014954222366214,0.021418757736683,-0.028498137369752,-0.050796013325453,0.036829311400652,0.109089478850365,-0.005001690704376,0.059119630604982,0.018200615420938,-0.094311825931072,0.022391205653548,-0.049966737627983,-0.062134575098753) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.023243846371770,-0.055273529142141,-0.258328229188919,-0.037865929305553,0.017920535057783,-0.099756404757500,0.119831055402756,-0.245440855622292,0.059791244566441,-0.151411563158035,0.117675721645355,0.189365550875664,0.351979941129684,0.083183541893959,-0.106514327228069,0.039164349436760) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.239656940102577,0.377914339303970,0.274036943912506,0.072057612240314,0.061153158545494,0.161049798130989,0.129280179738998,0.147703245282173,0.250555753707886,0.106471598148346,0.031476996839046,-0.120759248733521,-0.008773651905358,-0.180811539292336,0.123413696885109,0.028170650824904) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.034216739237309,-0.213631093502045,0.042356681078672,0.010985899716616,0.007760776672512,-0.140222281217575,0.005334288813174,-0.039077568799257,0.002805460244417,0.045129772275686,0.013407072983682,-0.009104171767831,-0.079753398895264,-0.193939656019211,0.224654346704483,-0.123432882130146) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.056292146444321,0.068074926733971,0.039691075682640,0.027563167735934,-0.030383685603738,-0.129948660731316,-0.025890918448567,0.012992863543332,0.049277562648058,0.156130924820900,-0.099639751017094,-0.037756264209747,-0.003381453454494,-0.017250066623092,-0.083315782248974,-0.045891322195530) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.248578339815140,-0.240177989006042,-0.153775915503502,-0.053059186786413,-0.040678519755602,0.105273701250553,0.045688647776842,0.125167235732079,0.149164199829102,-0.064689844846725,0.024734485894442,-0.141960397362709,-0.022363401949406,-0.175815358757973,-0.131971359252930,-0.038307510316372) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.300588309764862,-0.260622024536133,0.028230056166649,0.019841859117150,-0.004514964297414,-0.043698437511921,0.006696610245854,-0.034483790397644,-0.074070081114769,0.184706553816795,0.006475368048996,0.016334049403667,-0.143042251467705,-0.262239396572113,0.026407608762383,-0.097041264176369) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.121301226317883,-0.091537870466709,0.096821241080761,-0.191736862063408,0.082707300782204,-0.024018792435527,0.011368446983397,-0.047773733735085,-0.185761660337448,-0.162140250205994,-0.129301026463509,0.066495217382908,-0.114993125200272,0.029104396700859,-0.123488821089268,0.206777483224869) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.176235452294350,0.044986490160227,-0.069039560854435,0.012486337684095,0.043740123510361,-0.144221544265747,-0.115473330020905,0.018229363486171,-0.086917541921139,-0.166633397340775,-0.020835423842072,0.084057830274105,-0.132649928331375,0.083023302257061,0.015497076325119,0.133132740855217) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.028240619227290,0.091884188354015,-0.055052708834410,0.091732859611511,0.002581489039585,0.067422874271870,0.133519470691681,-0.014233151450753,-0.067320592701435,0.024832969531417,-0.006072300486267,0.089384391903877,-0.007056160364300,-0.050513036549091,-0.116759099066257,0.097643300890923) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.041460916399956,0.102068640291691,-0.038142275065184,0.003672423539683,-0.036139320582151,-0.010845525190234,0.077082045376301,0.081968277692795,-0.130960971117020,-0.377111524343491,-0.084166511893272,-0.159188151359558,0.075748033821583,0.020090557634830,0.181356340646744,0.069860920310020) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.179103523492813,0.168014466762543,0.032220233231783,-0.072115622460842,-0.255954086780548,-0.078876703977585,-0.011467354372144,-0.053729079663754,-0.472359359264374,-0.435714960098267,0.010123725049198,-0.070255890488625,0.265921205282211,-0.219716086983681,0.179087147116661,-0.214737117290497) * MODEL6_texOff(vec2(0,0));
res += mat4(0.020420486107469,0.102773994207382,-0.061070956289768,0.044074174016714,0.235759019851685,0.140774428844452,-0.001286068931222,0.050217065960169,-0.040774319320917,-0.229991078376770,-0.071226365864277,-0.005750174168497,-0.114564456045628,0.030205439776182,0.333016276359558,-0.073645658791065) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.114508077502251,-0.026583952829242,-0.008997116237879,0.082728460431099,0.096852645277977,-0.089067630469799,-0.082051537930965,0.066339366137981,-0.105463184416294,-0.244275733828545,-0.045945305377245,-0.039907492697239,-0.064631566405296,-0.000754593522288,0.090154223144054,0.110980615019798) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.043801881372929,0.211020469665527,0.230493128299713,0.017531860619783,0.009531155228615,-0.054120358079672,-0.050752598792315,0.034990120679140,-0.247743830084801,-0.248605027794838,-0.003012418979779,0.048468083143234,0.173640280961990,-0.027527743950486,0.292526453733444,-0.148541420698166) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.017960259690881,-0.102198027074337,0.000481045193737,0.001540292403661,0.185922876000404,-0.007526261266321,0.110178664326668,0.101007975637913,-0.005414519924670,-0.099602222442627,0.082576692104340,0.021684525534511,0.133970111608505,0.169259041547775,-0.204871997237206,-0.090027429163456) * MODEL6_texOff(vec2(1,1));
res += FEATURE2_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.000819487322588,0.180209711194038,0.344026207923889,0.733743488788605) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE3
//!SAVE MODEL9
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 4_3

vec4 hook()
{
vec4 res = vec4(0.093350112438202,-0.033529579639435,0.019452935084701,0.271040827035904);
res += mat4(0.108524248003960,0.140975520014763,0.023772660642862,0.047665659338236,0.030217688530684,-0.052757393568754,-0.010373013094068,-0.027308693155646,0.058910686522722,0.014461116865277,-0.036319356411695,-0.007967839948833,-0.153555795550346,-0.098586149513721,-0.073308445513248,0.016003120690584) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.115891247987747,0.189908012747765,-0.076345019042492,-0.024078479036689,0.121287815272808,-0.058886196464300,-0.055275257676840,-0.059219766408205,0.071195453405380,0.030806740745902,-0.049744945019484,-0.119675986468792,0.001818352262489,-0.007364970631897,0.058561827987432,-0.030334593728185) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.077343143522739,0.071222767233849,0.063371017575264,-0.122665919363499,-0.029941651970148,-0.027907012030482,-0.043211523443460,-0.059025503695011,-0.064070157706738,0.034299761056900,0.050750318914652,-0.011216123588383,0.003581544384360,0.062374223023653,0.009992885403335,0.011228449642658) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.162145510315895,0.131210327148438,0.085645869374275,0.136624485254288,0.100692257285118,0.030807096511126,-0.025493904948235,0.005030694883317,-0.103974699974060,-0.159308761358261,-0.026703892275691,0.123481474816799,0.076939836144447,-0.100290499627590,0.058974899351597,0.026111807674170) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.192483901977539,-0.069995254278183,-0.199326142668724,0.112605385482311,0.285734057426453,-0.007204302120954,-0.108080260455608,-0.095502004027367,-0.008668345399201,-0.066148415207863,-0.003890115302056,-0.021428091451526,-0.015222713351250,0.122217386960983,0.016880597919226,0.001936737564392) * MODEL1_texOff(vec2(0,0));
res += mat4(0.090279184281826,0.031069342046976,-0.022929241880774,0.074076697230339,0.395165234804153,-0.279330998659134,0.093754328787327,-0.053027182817459,-0.020419584587216,0.312347650527954,0.081048704683781,-0.048354588449001,-0.040627624839544,-0.005645433440804,0.019724572077394,0.024776892736554) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.001129109645262,0.202541247010231,-0.097052589058876,-0.080584451556206,0.015194711275399,-0.050150103867054,-0.049322266131639,-0.153927057981491,0.065358757972717,-0.052094742655754,0.033972900360823,0.058866247534752,-0.202002540230751,0.005803701933473,0.033299397677183,-0.031718105077744) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.078301146626472,0.083326950669289,-0.098063908517361,-0.063713885843754,0.235446184873581,-0.152928233146667,0.009991313330829,-0.246202036738396,-0.074287042021751,0.042682137340307,0.061255134642124,0.025739436969161,-0.275864541530609,0.047672156244516,0.080429710447788,-0.125291973352432) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.162778526544571,0.043043535202742,0.126957625150681,0.002192292595282,0.141815513372421,-0.267867982387543,0.042622514069080,-0.039960101246834,0.048156078904867,0.087249532341957,-0.027209710329771,-0.071877613663673,-0.192572966217995,-0.078786365687847,0.031392067670822,-0.047526609152555) * MODEL1_texOff(vec2(1,1));
res += mat4(0.013655371963978,-0.066164590418339,-0.099585227668285,-0.044163979589939,-0.164649456739426,-0.052737686783075,-0.046468507498503,-0.070494085550308,-0.169862389564514,-0.069986417889595,0.012533643282950,-0.057898875325918,-0.146144494414330,-0.163763374090195,0.019562928006053,0.096870139241219) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.176098614931107,0.060270119458437,0.203459352254868,-0.022323634475470,-0.037461899220943,-0.063154272735119,-0.019320940598845,-0.004229688085616,-0.173632234334946,-0.028824368491769,-0.027141502127051,-0.026803530752659,-0.142700761556625,-0.062222428619862,0.050740037113428,0.040364354848862) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.078846819698811,0.016319863498211,-0.010607432574034,0.070127591490746,-0.076612517237663,-0.191673085093498,-0.026466848328710,-0.033773224800825,-0.036844488233328,0.140284895896912,0.112510956823826,-0.063072755932808,-0.022967245429754,-0.084717668592930,-0.005844993982464,0.007488691248000) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.036348126828671,-0.056289549916983,0.073428653180599,0.059502728283405,-0.248272925615311,0.038440376520157,0.012339066714048,-0.040338575839996,0.127464383840561,-0.004752887412906,0.083759099245071,0.254515171051025,-0.151666685938835,-0.013610852882266,0.033517710864544,0.165288954973221) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.002683092840016,-0.232436656951904,-0.189068242907524,-0.035326678305864,-0.189148843288422,-0.060617782175541,-0.065633386373520,0.060520395636559,-0.145271390676498,-0.143944337964058,-0.091572292149067,-0.112936735153198,-0.014365666545928,0.026739027351141,0.048788588494062,0.075865112245083) * MODEL2_texOff(vec2(0,0));
res += mat4(0.220571339130402,-0.147743865847588,0.166299343109131,-0.001304238336161,-0.126274004578590,-0.112072944641113,0.001889953622594,0.215521320700645,-0.153467223048210,-0.024706706404686,-0.005050529260188,-0.026743952184916,0.090628705918789,0.188339233398438,-0.038939513266087,0.011343549005687) * MODEL2_texOff(vec2(0,1));
res += mat4(0.018035827204585,-0.012301780283451,0.044835198670626,-0.038372892886400,-0.154620200395584,-0.038646038621664,0.013250362128019,-0.008760051801801,0.196914210915565,-0.008623373694718,-0.055180069059134,0.123200900852680,-0.149344176054001,-0.031536925584078,0.043623913079500,-0.017931308597326) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.045804969966412,0.213048994541168,-0.008632594719529,-0.043830424547195,-0.103622160851955,-0.185773059725761,-0.041981134563684,0.126911357045174,0.154927566647530,0.054389301687479,0.012636627070606,-0.008540530689061,-0.182221069931984,0.182672411203384,0.025241358205676,0.052483491599560) * MODEL2_texOff(vec2(1,0));
res += mat4(0.101681567728519,0.022213919088244,-0.028967926278710,-0.003487804671749,-0.127375707030296,-0.033295068889856,-0.095317929983139,0.006844827439636,-0.022824674844742,0.079046614468098,0.001061786897480,0.072518743574619,-0.017849510535598,0.246100485324860,-0.015224053524435,-0.009923139587045) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.057327549904585,-0.031959988176823,0.015952603891492,-0.069628953933716,0.101143524050713,0.047696139663458,-0.028709482401609,0.039933234453201,-0.057679869234562,0.009098961949348,0.006741099059582,-0.143263220787048,0.196878731250763,-0.088435664772987,-0.030680583789945,-0.039709869772196) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.111795514822006,-0.006363843567669,-0.084136933088303,-0.166991084814072,-0.048375312238932,-0.007556010037661,-0.054612789303064,-0.034234400838614,0.117698423564434,-0.067413799464703,0.104461923241615,0.030722651630640,0.098717905580997,-0.050821520388126,0.053338292986155,-0.020689615979791) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.073855094611645,-0.143040880560875,0.060278490185738,-0.092357933521271,0.075644999742508,-0.051737513393164,-0.068099357187748,-0.007715806365013,0.007207542192191,0.012489919550717,-0.015177729539573,0.032121326774359,0.086643785238266,-0.002651733579114,0.003812902374193,0.006166274193674) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.039030957967043,0.114143632352352,0.001150101190433,0.091138593852520,0.096535079181194,-0.037207674235106,-0.067442491650581,0.031182829290628,0.050961054861546,0.162952840328217,0.067361012101173,0.079169280827045,-0.150245502591133,-0.215901419520378,-0.104458093643188,0.032429944723845) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.008288574405015,0.099218398332596,0.026909712702036,-0.007946656085551,0.137910783290863,-0.039049640297890,0.013026143424213,0.125724822282791,-0.055944759398699,0.239168241620064,0.092829272150993,-0.317727595567703,0.110683806240559,0.078079484403133,-0.029268801212311,0.087897159159184) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.084410667419434,0.180148571729660,-0.043528985232115,0.046651586890221,-0.014563329517841,0.071824491024017,-0.116054743528366,-0.086538933217525,0.076988451182842,-0.172976940870285,-0.075778923928738,0.066259309649467,0.155819594860077,-0.195912420749664,0.107383862137794,-0.012278175912797) * MODEL3_texOff(vec2(0,1));
res += mat4(0.190162748098373,-0.114590302109718,0.061891917139292,-0.028743676841259,-0.128212183713913,-0.082513242959976,-0.007208535447717,0.071189381182194,0.036661934107542,-0.106278374791145,0.001091278390959,-0.088025100529194,0.072100169956684,0.111206978559494,-0.097241215407848,0.089727014303207) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.253988921642303,0.050319552421570,-0.105684883892536,-0.018494792282581,-0.059678487479687,-0.221179842948914,-0.129062935709953,-0.031104885041714,-0.052804611623287,0.006076446734369,-0.120224103331566,-0.306960135698318,0.046943340450525,0.068776339292526,0.210012197494507,-0.132900714874268) * MODEL3_texOff(vec2(1,0));
res += mat4(0.121843174099922,0.041944343596697,0.067943550646305,-0.167031243443489,0.152535364031792,0.020482573658228,-0.081238277256489,0.098836213350296,-0.054616160690784,-0.113967530429363,-0.021660180762410,0.050477743148804,0.028804039582610,0.015515103936195,0.038539588451385,-0.054462905973196) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.031647305935621,0.147890031337738,-0.062471553683281,0.014698971062899,-0.111878059804440,-0.033706475049257,-0.024446511641145,0.054330009967089,-0.140094429254532,0.034866932779551,0.007070932537317,0.052703525871038,-0.125553175806999,0.021520651876926,-0.018190069124103,0.130610376596451) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.027321457862854,0.138148471713066,-0.030263198539615,0.041762154549360,0.180835276842117,-0.061662875115871,0.004310247488320,-0.031853910535574,-0.164322018623352,0.006557879969478,0.038845568895340,-0.005383912008256,0.053174313157797,-0.095879197120667,-0.005254986230284,0.009767832234502) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.062606982886791,-0.123632058501244,-0.004238652996719,-0.035489249974489,-0.079324357211590,0.021716365590692,-0.014222022145987,-0.077593274414539,-0.059100195765495,-0.026509266346693,0.031098596751690,0.020762389525771,0.140255302190781,0.017025215551257,-0.091985985636711,0.045584764331579) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.148366153240204,0.181798040866852,0.005546589381993,-0.062322780489922,-0.033830706030130,-0.038677204400301,0.091923601925373,-0.142739474773407,-0.324389398097992,0.072155989706516,0.137300163507462,-0.200066775083542,-0.150984525680542,0.105949632823467,-0.078917831182480,0.045614853501320) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.116948202252388,0.161855012178421,0.122917436063290,-0.107080116868019,0.027397377416492,-0.136017993092537,0.045086473226547,-0.083304628729820,-0.429074704647064,0.077740222215652,0.072747275233269,-0.031919267028570,-0.054784052073956,0.098589010536671,0.070450730621815,0.028937833383679) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.164064109325409,0.067348971962929,-0.094083279371262,-0.014719397760928,-0.063043527305126,0.059469975531101,-0.094548963010311,0.001111613819376,-0.108217217028141,0.006595803424716,0.035112772136927,-0.018849974498153,0.132035642862320,0.079231671988964,-0.092233739793301,-0.055830556899309) * MODEL4_texOff(vec2(0,1));
res += mat4(0.065517030656338,-0.072082698345184,0.074727624654770,-0.203589126467705,-0.156128719449043,0.051556311547756,0.080223396420479,0.019795862957835,-0.147940903902054,-0.057266846299171,0.023470474407077,0.005329590290785,-0.013051784597337,0.010311476886272,-0.039871808141470,-0.039601963013411) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.028946492820978,-0.321419209241867,0.014810818247497,-0.101534016430378,-0.075541049242020,0.035547781735659,-0.017752513289452,-0.009568435139954,-0.406163781881332,-0.116820864379406,0.164976119995117,-0.032808348536491,-0.106567844748497,0.050835717469454,0.033691566437483,0.207964867353439) * MODEL4_texOff(vec2(1,0));
res += mat4(0.138201072812080,-0.094217821955681,0.075659632682800,0.016876988112926,0.143012493848801,0.029814878478646,0.014565614052117,-0.050676107406616,0.123485758900642,0.021868078038096,-0.039076212793589,0.011443417519331,-0.117497824132442,0.118527360260487,0.003490264294669,-0.035839274525642) * MODEL4_texOff(vec2(1,1));
res += mat4(0.006092209834605,0.059735387563705,-0.082826271653175,-0.047871898859739,0.084559388458729,0.072749182581902,-0.009008496999741,0.033771350979805,0.040786981582642,-0.010285521857440,0.049042612314224,-0.032964494079351,0.022608384490013,0.036301501095295,0.017807127907872,-0.122819751501083) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.072167724370956,0.081391267478466,-0.048578232526779,-0.017140528187156,-0.054965768009424,0.108282968401909,-0.173105672001839,0.099700532853603,-0.080570809543133,-0.139157712459564,-0.002825470408425,-0.015334294177592,-0.009068025276065,-0.044351249933243,-0.054415822029114,-0.036047607660294) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.002704656915739,-0.004090397153050,-0.089902184903622,0.064413249492645,0.061196610331535,0.007463996764272,-0.115000732243061,0.056783027946949,-0.032295692712069,0.075876139104366,-0.015731735154986,0.047981876879930,0.123452961444855,-0.034545827656984,-0.063009358942509,-0.134891524910927) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.047078311443329,-0.015287534333766,0.020178066566586,-0.070657067000866,0.081394784152508,-0.138137727975845,-0.064435549080372,0.144141077995300,-0.142347618937492,0.108761288225651,-0.230970919132233,0.015384640544653,0.014797945506871,0.068769708275795,-0.044745046645403,-0.318290591239929) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.004811788909137,-0.072201542556286,-0.264701455831528,0.130270957946777,-0.099064923822880,-0.036248899996281,0.178982675075531,-0.136803522706032,0.023725263774395,-0.124837331473827,0.190129488706589,0.046882208436728,-0.017681181430817,0.188448220491409,-0.024674229323864,-0.014532091096044) * MODEL5_texOff(vec2(0,0));
res += mat4(0.108616448938847,0.051352076232433,-0.044751327484846,-0.062242280691862,0.133930906653404,0.163989812135696,-0.023351844400167,0.013902499340475,-0.036465588957071,-0.034036148339510,0.060360033065081,0.026200337335467,-0.184110581874847,-0.062758810818195,0.189391657710075,-0.034281827509403) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.202569395303726,0.155226930975914,0.067611977458000,-0.052300032228231,0.049787398427725,0.081663116812706,-0.177127361297607,0.139520421624184,0.084326848387718,0.169885128736496,0.087461970746517,0.009202975779772,-0.134650021791458,0.090954922139645,0.023630481213331,-0.111000999808311) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.013718375936151,0.111177071928978,0.032097164541483,0.221857413649559,0.138044878840446,0.108546011149883,-0.144249796867371,-0.208567723631859,-0.075823150575161,-0.030909812077880,-0.042964063584805,-0.014412119053304,-0.302332997322083,0.038182944059372,0.001918778987601,-0.141302064061165) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.043686162680387,0.055422931909561,-0.026439692825079,0.051291041076183,-0.037116151303053,0.048080015927553,-0.053906768560410,-0.073215849697590,-0.055969659239054,-0.125236332416534,0.023313708603382,0.079782925546169,-0.127519324421883,-0.006500123068690,0.080162830650806,-0.073533788323402) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.020708000287414,0.058781426399946,-0.031191872432828,0.093441486358643,0.073652677237988,0.043923515826464,0.016955712810159,0.042290691286325,0.037967458367348,-0.031340859830379,-0.054954636842012,-0.249610885977745,-0.077074468135834,-0.066854611039162,-0.034898191690445,-0.002771267667413) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.041120737791061,0.009849221445620,0.065572112798691,0.163671553134918,-0.113707728683949,-0.134987339377403,-0.045104216784239,0.006250402424484,-0.019831465557218,-0.032753575593233,0.028823375701904,-0.110167376697063,-0.093654580414295,-0.120296403765678,-0.133918732404709,-0.094570212066174) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.023408269509673,0.032025698572397,0.054502572864294,0.098355770111084,-0.182724878191948,0.100723862648010,0.022238856181502,-0.015261265449226,0.013935412280262,0.009314648807049,-0.029308997094631,-0.011372852139175,-0.081533059477806,0.013697478920221,-0.051943574100733,-0.048852015286684) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.011983037926257,0.065920896828175,-0.110441364347935,0.135430529713631,-0.111626118421555,-0.036468300968409,-0.059072528034449,-0.031641330569983,-0.074742846190929,-0.065525941550732,0.043840650469065,-0.265225321054459,-0.084234200417995,-0.209142178297043,0.163562953472137,0.092640928924084) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.229903578758240,0.262767106294632,0.025430506095290,0.104895025491714,-0.202212050557137,-0.179453149437904,0.132473081350327,0.022288598120213,0.206814855337143,-0.000392215239117,-0.009759258478880,-0.168275117874146,0.111521959304810,0.030914964154363,-0.211482226848602,0.007025562226772) * MODEL6_texOff(vec2(0,0));
res += mat4(0.134043663740158,0.236383870244026,0.112402170896530,-0.021352782845497,-0.306270182132721,-0.033229473978281,-0.119560644030571,0.037419408559799,0.112981438636780,0.004927146248519,-0.020782891660929,-0.003708072006702,0.053834240883589,-0.045970965176821,-0.156145244836807,-0.013308822177351) * MODEL6_texOff(vec2(0,1));
res += mat4(0.025552630424500,-0.005601378623396,-0.104803375899792,0.092822797596455,-0.122979827225208,0.114739753305912,-0.074963726103306,-0.014195164665580,0.005461790133268,-0.157333388924599,-0.059929769486189,-0.088418141007423,0.025024333968759,-0.300924658775330,-0.031908944249153,0.079348474740982) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.094077900052071,0.136772260069847,0.049751985818148,0.060262214392424,-0.300524443387985,-0.244903221726418,-0.043417040258646,0.015162133611739,0.055724885314703,-0.082455784082413,-0.042320568114519,-0.252540946006775,0.116380997002125,-0.057418260723352,-0.015084230341017,-0.105922229588032) * MODEL6_texOff(vec2(1,0));
res += mat4(0.023556290194392,0.119859047234058,0.009341746568680,0.010598041117191,0.125445574522018,0.104864820837975,0.103296205401421,-0.016948482021689,0.095001876354218,-0.099768750369549,0.006903267931193,-0.088614150881767,-0.068965114653111,-0.048522602766752,-0.067941240966320,-0.049666639417410) * MODEL6_texOff(vec2(1,1));
res += FEATURE3_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.154498100280762,0.491273403167725,0.779175877571106,0.087528772652149) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE4
//!SAVE MODEL10
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 4_4

vec4 hook()
{
vec4 res = vec4(0.295425653457642,-0.014720695093274,0.070998363196850,-0.156077876687050);
res += mat4(0.072890520095825,0.012974818237126,-0.129477605223656,0.030623819679022,0.037662733346224,0.004361299797893,0.066810943186283,-0.082072682678699,0.014572471380234,-0.054748591035604,-0.071756817400455,-0.041592091321945,-0.014301381073892,-0.015373059548438,-0.098968699574471,0.043437287211418) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.070193268358707,0.036106031388044,0.044710177928209,-0.016381228342652,0.102383777499199,0.024588124826550,0.369053542613983,-0.068112894892693,0.084367550909519,-0.029938694089651,0.027978891506791,-0.041266914457083,0.106817960739136,0.014884888194501,0.026357877999544,0.090435683727264) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.015074180439115,0.084043227136135,-0.034814141690731,0.010051023215055,-0.017701610922813,0.058547671884298,0.222169294953346,-0.041247975081205,0.066356293857098,0.035985950380564,-0.057464934885502,0.057000797241926,-0.078390330076218,0.060146365314722,-0.083125345408916,-0.000919581390917) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.013600768521428,0.017435172572732,-0.053548615425825,-0.108596168458462,0.069819152355194,-0.019183220341802,0.263878434896469,0.090081244707108,-0.036558251827955,-0.007618305273354,-0.213854402303696,-0.125984311103821,-0.189172059297562,0.039813339710236,0.003869367530569,0.218284264206886) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.119261041283607,0.196580901741982,0.060583166778088,0.014998139813542,0.089355520904064,0.043823275715113,0.033385913819075,0.098987385630608,0.054979577660561,-0.082804389297962,-0.347413063049316,0.022549724206328,-0.187044262886047,0.056347023695707,-0.039332963526249,0.122021950781345) * MODEL1_texOff(vec2(0,0));
res += mat4(0.195501551032066,-0.012294633314013,-0.177208527922630,-0.054614052176476,-0.200765848159790,0.031451776623726,0.070435486733913,0.090150609612465,0.275167256593704,0.014118087477982,-0.066647760570049,-0.025077151134610,-0.151337385177612,-0.051205083727837,-0.368603140115738,0.035075042396784) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.063059464097023,0.068598955869675,0.026201551780105,-0.012426758185029,0.136168554425240,0.022874286398292,0.320589005947113,-0.228572800755501,0.050392065197229,0.028317231684923,0.013762434944510,0.109226927161217,-0.157111018896103,-0.253523856401443,-0.185992315411568,-0.134273245930672) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.034488663077354,0.253147214651108,0.061695933341980,-0.109246715903282,-0.012896263040602,-0.040243957191706,0.171162620186806,-0.245439410209656,0.007517678197473,0.178485289216042,-0.031416371464729,-0.097699381411076,-0.106368161737919,-0.217553600668907,-0.084496699273586,0.140256553888321) * MODEL1_texOff(vec2(1,0));
res += mat4(0.012725415639579,0.020894110202789,-0.129147514700890,-0.062815882265568,-0.109657116234303,-0.050922680646181,0.032867174595594,0.024075020104647,-0.152298510074615,-0.030264323577285,0.060740534216166,-0.081389971077442,-0.006591717246920,-0.151595845818520,-0.246659040451050,0.106493577361107) * MODEL1_texOff(vec2(1,1));
res += mat4(0.007668115198612,0.030251763761044,-0.117553189396858,0.007971740327775,0.033531010150909,0.063919335603714,0.131291881203651,0.051585510373116,0.051216367632151,-0.118027903139591,0.015666443854570,0.114719413220882,-0.095979794859886,-0.209529951214790,-0.190624192357063,-0.032202489674091) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.080196984112263,-0.128593459725380,0.182330578565598,-0.067138515412807,-0.176071763038635,-0.070564568042755,-0.031297542154789,0.005619880277663,0.009282689541578,0.025820085778832,0.153625950217247,0.005229680333287,0.060023456811905,0.065483279526234,-0.167862549424171,0.155650168657303) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.114269383251667,0.030334442853928,0.090237259864807,-0.060394447296858,-0.093779586255550,-0.100714646279812,-0.087820030748844,0.096689566969872,-0.270958662033081,0.034647338092327,-0.077864885330200,-0.001085619791411,0.111852020025253,-0.107950836420059,-0.213334903120995,0.075550094246864) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.034228216856718,-0.015856605023146,-0.006146935746074,-0.035545703023672,-0.027605433017015,-0.116618737578392,-0.092731274664402,0.030563071370125,-0.108053341507912,-0.308951139450073,-0.580902457237244,0.114856377243996,-0.164476230740547,0.005544609390199,-0.077370516955853,-0.021594200283289) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.054531600326300,0.000490498670842,-0.020717749372125,0.223549649119377,-0.044345740228891,-0.234737753868103,-0.061956450343132,-0.088504739105701,0.144422248005867,0.085207052528858,0.073423631489277,0.084875620901585,-0.029584677889943,0.188462853431702,-0.173261284828186,-0.024634612724185) * MODEL2_texOff(vec2(0,0));
res += mat4(0.018447821959853,-0.121873810887337,0.155608370900154,0.170437991619110,0.007539522368461,-0.040271468460560,0.062631160020828,-0.015055700205266,0.081798329949379,0.032386913895607,-0.017088493332267,-0.050839558243752,0.158088251948357,0.110330492258072,-0.090716995298862,-0.030588459223509) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.038316521793604,-0.009359489195049,0.252518981695175,-0.085636079311371,-0.000017823083908,-0.080599285662174,-0.204246357083321,-0.019822033122182,-0.033905606716871,-0.034028496593237,0.231641650199890,0.232204362750053,-0.107093393802643,-0.004957247991115,-0.210216760635376,-0.166864454746246) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.143134787678719,-0.019469197839499,0.010163841769099,-0.056671116501093,0.020588573068380,0.072284355759621,0.016486074775457,0.088918671011925,-0.145771250128746,-0.261734873056412,-0.020094307139516,0.018726635724306,0.069677911698818,0.151580765843391,-0.104222699999809,-0.105378754436970) * MODEL2_texOff(vec2(1,0));
res += mat4(0.085786320269108,0.126931220293045,0.083716638386250,-0.065185852348804,0.083440460264683,-0.121079750359058,-0.064182266592979,0.029352886602283,-0.115843079984188,0.053977053612471,-0.030363643541932,-0.137120842933655,0.037781842052937,-0.075181335210800,-0.107624821364880,0.059422686696053) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.145612478256226,-0.080536589026451,-0.038012880831957,0.056514494121075,0.069229364395142,-0.001269887085073,0.213116362690926,-0.112796664237976,0.030299538746476,-0.046165369451046,-0.138173133134842,-0.077878214418888,0.064459241926670,0.033257022500038,-0.225415915250778,0.071588426828384) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.058124966919422,-0.047973796725273,-0.001823042053729,-0.027448086068034,0.079031877219677,0.023958062753081,0.040449995547533,0.028654303401709,0.173687309026718,-0.014498547650874,-0.069085463881493,0.028032803907990,-0.092221572995186,0.019431484863162,-0.205687776207924,-0.030739486217499) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.012759913690388,0.043754853308201,-0.092291414737701,-0.182238966226578,0.010418990626931,-0.012134042568505,0.016054593026638,0.055031333118677,-0.086684800684452,-0.011832340620458,0.081508070230484,-0.098505236208439,-0.128479883074760,0.084512889385223,-0.101152196526527,-0.005647138226777) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.086835980415344,-0.126375511288643,-0.082526169717312,-0.047044619917870,0.053373914211988,-0.037604022771120,0.121026277542114,-0.074412502348423,-0.017646247521043,-0.179724529385567,-0.188810408115387,0.084097191691399,0.065506845712662,0.257964938879013,-0.343798875808716,-0.088218256831169) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.048823401331902,-0.015343178063631,-0.165444180369377,0.100354954600334,0.138333708047867,-0.182990148663521,0.006447011139244,0.157532036304474,0.194518774747849,0.124811351299286,0.164712548255920,-0.025498706847429,0.275707066059113,0.350603431463242,-0.065601229667664,-0.226082265377045) * MODEL3_texOff(vec2(0,0));
res += mat4(0.183481782674789,0.025668425485492,0.171639442443848,-0.036994777619839,0.079640172421932,-0.154301494359970,-0.069197855889797,0.084647752344608,-0.685073614120483,0.003910697996616,-0.037328697741032,-0.009284802712500,-0.471648484468460,-0.048905514180660,-0.013915082439780,-0.000848741095979) * MODEL3_texOff(vec2(0,1));
res += mat4(0.056363344192505,0.228706583380699,0.138141334056854,0.130332857370377,-0.044859301298857,-0.199674099683762,0.014931182377040,-0.091277696192265,0.034045897424221,0.188729807734489,-0.101810537278652,0.040918700397015,0.043161801993847,-0.248048961162567,0.182212576270103,-0.229580849409103) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.067861735820770,-0.002027771435678,-0.178887024521828,-0.061584644019604,0.139788389205933,-0.295848309993744,0.149991005659103,0.229051589965820,0.027742698788643,-0.072877302765846,0.058837786316872,-0.101617187261581,0.080324433743954,-0.156431809067726,-0.120671652257442,0.093824312090874) * MODEL3_texOff(vec2(1,0));
res += mat4(0.021878702566028,0.062331136316061,0.030009688809514,0.038404304534197,0.173567771911621,-0.347117036581039,-0.004973481874913,0.104167543351650,0.041447151452303,-0.080608025193214,-0.046408865600824,-0.111016578972340,-0.014255547896028,-0.019112426787615,-0.124665945768356,-0.055752884596586) * MODEL3_texOff(vec2(1,1));
res += mat4(0.043899279087782,0.121373072266579,0.095567755401134,0.046665381640196,0.012577001005411,0.261198341846466,0.172827824950218,0.113698944449425,-0.099791884422302,0.058702554553747,-0.190355107188225,0.128965854644775,0.020813401788473,-0.014758458361030,0.198734968900681,0.025670226663351) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.057713117450476,0.049026221036911,0.126951545476913,-0.081590197980404,-0.425559729337692,0.050720736384392,0.026049930602312,0.170128509402275,-0.135556399822235,0.052130002528429,-0.354087114334106,0.090843208134174,-0.013422015123069,0.129058346152306,0.119563020765781,0.045368276536465) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.008308700285852,0.041622586548328,-0.117744624614716,-0.041159465909004,-0.126190960407257,0.135462895035744,-0.003584060119465,-0.015312354080379,0.011985559947789,-0.005990671925247,-0.105182677507401,0.009538819082081,0.091780409216881,0.057926703244448,0.028881212696433,-0.000993501977064) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.045304432511330,0.025916513055563,0.178711995482445,-0.234255358576775,-0.081445537507534,-0.006711895111948,0.083746209740639,-0.100660540163517,-0.075250335037708,-0.111314088106155,-0.142129644751549,0.146351739764214,-0.040848121047020,-0.220344305038452,-0.234248667955399,-0.061911750584841) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.166674867272377,0.000288043054752,0.141300186514854,0.100058533251286,-0.156985759735107,0.117797762155533,-0.041186269372702,0.079808123409748,-0.360537618398666,0.025127252563834,-0.297834277153015,0.150780111551285,0.082597069442272,0.165493085980415,0.039409033954144,-0.050114639103413) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.205522850155830,0.096621260046959,0.201173007488251,0.043658785521984,-0.132042869925499,0.069831475615501,0.055239912122488,-0.027430392801762,-0.318803399801254,-0.060343597084284,-0.118157297372818,0.000017474671040,0.145586296916008,-0.044971112161875,0.002421287586913,0.094318300485611) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.037368159741163,-0.210024014115334,-0.021258225664496,0.165054485201836,0.063374467194080,-0.238522127270699,0.129383578896523,-0.065570041537285,-0.099696844816208,-0.212133660912514,-0.265005826950073,-0.008712559007108,0.136974856257439,-0.055425576865673,0.052718222141266,0.133644148707390) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.111768059432507,0.025177020579576,0.082452058792114,-0.030989507213235,-0.135229825973511,-0.216013029217720,0.092649295926094,0.101515561342239,-0.067804761230946,-0.147469148039818,-0.236917153000832,0.074159130454063,-0.000660050252918,0.109135001897812,0.040658362209797,0.080148346722126) * MODEL4_texOff(vec2(1,0));
res += mat4(0.050877731293440,0.017428228631616,0.057800386101007,0.040430575609207,-0.132903799414635,0.042112093418837,0.173669368028641,-0.075642600655556,-0.109259739518166,0.137170642614365,-0.218825682997704,-0.001935899024829,-0.018824633210897,0.012224609963596,0.050170898437500,0.201438754796982) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.016412766650319,0.045526459813118,0.067418031394482,-0.052370689809322,-0.068837314844131,0.080416269600391,0.023308858275414,-0.046453420072794,0.142443001270294,-0.030554259195924,-0.051646817475557,-0.069600611925125,0.095827452838421,-0.001551524619572,-0.013381372205913,0.114513248205185) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.115395873785019,-0.077901564538479,-0.021183686330914,0.029367046430707,0.032583773136139,-0.014532516710460,-0.023727232590318,-0.084452942013741,-0.102099277079105,-0.013051874935627,-0.126452416181564,0.125269696116447,0.080636642873287,-0.142456993460655,0.233433410525322,-0.160592436790466) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.084663569927216,0.041777171194553,0.006898244842887,0.003267618827522,0.046088889241219,-0.006822666618973,0.151718810200691,0.035109478980303,-0.106848642230034,0.029998131096363,-0.003217984689400,0.100336305797100,-0.239286184310913,0.018912807106972,-0.073681153357029,-0.051660981029272) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.006698747631162,-0.052629403769970,0.256810516119003,0.006522690877318,-0.117562510073185,0.043458290398121,-0.020786730572581,-0.164678305387497,0.185933172702789,0.392833143472672,0.055382985621691,-0.019687216728926,0.117120638489723,-0.062241736799479,-0.215455830097198,0.008856891654432) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.380111724138260,-0.251518338918686,-0.162251636385918,-0.138797059655190,0.064520627260208,0.277598887681961,0.139609798789024,-0.104535184800625,-0.209283843636513,-0.018620776012540,-0.095853246748447,0.027476759627461,0.102209530770779,-0.090338081121445,0.102958284318447,-0.013210805132985) * MODEL5_texOff(vec2(0,0));
res += mat4(0.315769642591476,-0.043010637164116,-0.072124131023884,0.019000742584467,0.170438587665558,-0.087341316044331,0.097584001719952,0.102099530398846,-0.379256397485733,-0.045673176646233,-0.057034485042095,0.089228749275208,-0.163872033357620,0.063264653086662,0.018746638670564,-0.091493315994740) * MODEL5_texOff(vec2(0,1));
res += mat4(0.033951371908188,-0.089197859168053,-0.109319463372231,-0.402887552976608,-0.034538831561804,-0.081629924476147,0.227311655879021,0.070573516190052,0.094428144395351,-0.103416323661804,-0.348266124725342,-0.068487994372845,0.044126618653536,0.038864158093929,0.000602656276897,-0.054646350443363) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.120177157223225,0.144186094403267,-0.029692744836211,0.120718315243721,-0.129149913787842,0.030728982761502,0.073062643408775,-0.053487524390221,0.043956015259027,-0.264097690582275,-0.029344605281949,0.051328424364328,0.165373757481575,-0.103417597711086,-0.195271939039230,0.423294603824615) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.144898772239685,-0.012738837860525,0.048153471201658,0.312217712402344,0.144314125180244,0.022533422335982,0.036548335105181,0.000109137676191,-0.150921106338501,-0.132220178842545,-0.124710455536842,-0.001493553631008,-0.037886861711740,-0.191835641860962,0.167464226484299,0.026913745328784) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.105855658650398,0.137351587414742,0.001932122861035,0.051901165395975,-0.015501894056797,0.120001599192619,-0.090557090938091,-0.041630871593952,0.059050057083368,0.182309538125992,0.046697970479727,-0.111184909939766,-0.049167215824127,-0.066090464591980,-0.008949643932283,-0.001503571867943) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.144367188215256,0.062655657529831,0.033485200256109,-0.059553798288107,-0.013810840435326,0.124934770166874,0.003402081551030,-0.056083370000124,-0.390576362609863,0.152304887771606,0.051071509718895,0.021192271262407,0.014228614978492,0.071440942585468,0.029139004647732,-0.066077858209610) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.197956621646881,0.007370615843683,0.174190744757652,-0.181891947984695,0.071968793869019,0.124375656247139,-0.125138714909554,0.045105490833521,-0.207146316766739,0.099989883601665,0.024542694911361,0.008091306313872,0.038662467151880,-0.015655234456062,0.101028166711330,-0.074001066386700) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.046346377581358,0.121044471859932,0.158455714583397,0.109371691942215,-0.026015182957053,0.003360290778801,-0.108534552156925,-0.007381597533822,-0.015506995841861,0.069278769195080,-0.049524337053299,0.024231502786279,-0.093907125294209,-0.219892546534538,-0.104319550096989,0.017522944137454) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.068931296467781,0.159613206982613,0.039316281676292,-0.129474207758904,-0.104420758783817,-0.059707395732403,-0.121176697313786,0.152838855981827,-0.599017441272736,0.055632758885622,0.057284694164991,-0.018789472058415,-0.005409037228674,0.173897743225098,0.181222289800644,0.121743395924568) * MODEL6_texOff(vec2(0,0));
res += mat4(0.143098250031471,0.183382689952850,0.067182987928391,0.031602732837200,0.129426568746567,0.085012048482895,-0.086492091417313,0.000496615481097,-0.267293334007263,0.094395987689495,0.032699085772038,0.116553291678429,-0.013057907111943,-0.119593299925327,-0.030154921114445,-0.060262780636549) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.030005114153028,0.337268859148026,0.210011586546898,-0.162641063332558,0.003439969848841,-0.276236712932587,-0.240267127752304,0.076638825237751,0.046183437108994,0.106204643845558,0.012968352995813,-0.218025058507919,-0.008593427948654,-0.043680217117071,0.135606333613396,0.112720429897308) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.096070200204849,0.366645634174347,0.021888505667448,-0.106125406920910,-0.113677270710468,0.012614408507943,-0.044013455510139,0.049090102314949,0.028882391750813,0.129887461662292,-0.001261392724700,-0.174546495079994,-0.185737028717995,-0.007120274007320,-0.008223193697631,-0.001487333094701) * MODEL6_texOff(vec2(1,0));
res += mat4(0.222652629017830,0.115745320916176,-0.011410570703447,0.008111387491226,-0.130625069141388,0.230696693062782,-0.068096049129963,-0.071152038872242,0.007813787087798,-0.010631190612912,0.058831725269556,-0.070044912397861,0.067770704627037,0.122251078486443,-0.178359910845757,-0.277286797761917) * MODEL6_texOff(vec2(1,1));
res += FEATURE4_texOff(0);
res = max(res, vec4(0.0)) + vec4(-0.068878114223480,-0.005199983250350,-0.081916965544224,0.202612072229385) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE5
//!SAVE MODEL11
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 4_5

vec4 hook()
{
vec4 res = vec4(0.179868310689926,0.000091641792096,-0.145506143569946,-0.019650906324387);
res += mat4(0.340124636888504,0.103613525629044,0.280735492706299,-0.085682258009911,0.170374989509583,-0.041406370699406,0.067933946847916,-0.050392199307680,0.173990666866302,-0.062429998070002,-0.187915027141571,-0.000819417997263,0.099256753921509,-0.075379103422165,0.060612872242928,-0.113566890358925) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.063333950936794,-0.175556167960167,-0.247369661927223,0.204604685306549,0.017795061692595,-0.011475217528641,0.095279276371002,-0.013515423983335,-0.201447248458862,0.071456409990788,-0.100046619772911,0.153269827365875,-0.077625051140785,-0.052310835570097,-0.070714063942432,-0.000328488007654) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.015533450990915,-0.084365598857403,-0.110116451978683,-0.123678356409073,-0.122831866145134,-0.057454880326986,0.084698639810085,0.003358101937920,-0.124701008200645,0.043394595384598,0.175272613763809,0.041996065527201,-0.094875827431679,0.010477127507329,0.009967782534659,-0.110470883548260) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.049236740916967,0.020076254382730,0.082041583955288,0.092556789517403,-0.079032905399799,-0.078763715922832,-0.133363723754883,-0.168143033981323,0.069653764367104,0.060247834771872,0.143038392066956,0.260728955268860,0.011332710273564,-0.033733259886503,0.075123071670532,-0.112034216523170) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.139024585485458,-0.185495465993881,-0.023107729852200,-0.100561492145061,-0.199305385351181,-0.127468347549438,-0.061414413154125,0.085656158626080,-0.045982982963324,0.151259005069733,0.254400819540024,0.059215683490038,-0.185473337769508,-0.055344410240650,0.081023782491684,0.161491110920906) * MODEL1_texOff(vec2(0,0));
res += mat4(0.014454650692642,0.013217797502875,0.029584627598524,0.055689569562674,-0.089860655367374,0.120641253888607,-0.188222363591194,0.037352118641138,-0.211964517831802,-0.033278200775385,-0.111311145126820,0.047970186918974,0.003266967833042,-0.099739089608192,-0.075974427163601,-0.114649482071400) * MODEL1_texOff(vec2(0,1));
res += mat4(0.116903804242611,0.051034655421972,0.012943806126714,0.044118814170361,-0.338940560817719,-0.102341912686825,-0.154554396867752,0.034264650195837,0.040476977825165,0.027454415336251,0.040872208774090,0.020885266363621,-0.080265149474144,0.069917000830173,-0.066638082265854,-0.087916374206543) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.087130717933178,0.293665647506714,0.069818101823330,-0.271075963973999,-0.003919730428606,-0.095892667770386,-0.208490088582039,0.014484622515738,-0.000897451653145,-0.078140072524548,-0.105515748262405,0.083983622491360,-0.097749561071396,0.032747987657785,-0.268509179353714,-0.100956387817860) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.131688192486763,0.257763355970383,0.122412934899330,-0.102551467716694,-0.060744587332010,-0.034139975905418,-0.225880056619644,-0.171153455972672,-0.012448113411665,0.007003942970186,-0.067986644804478,-0.017808355391026,-0.163446232676506,-0.051571920514107,-0.282800942659378,-0.119976259768009) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.189649656414986,0.026007466018200,-0.017345607280731,-0.019307482987642,-0.324125796556473,0.029491227120161,0.171718582510948,-0.018462851643562,-0.277137309312820,-0.045401848852634,0.029174303635955,0.008437664248049,0.069026954472065,0.033676926046610,-0.103045232594013,-0.004507979843765) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.306384027004242,-0.108059443533421,-0.162767007946968,0.026321051642299,-0.150406241416931,-0.025650234892964,0.049501307308674,0.171357586979866,0.164675191044807,0.058912567794323,-0.005472322460264,-0.104104571044445,0.122282393276691,0.049120575189590,0.152102187275887,-0.027190174907446) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.164591684937477,-0.117353096604347,-0.006267256103456,0.043787159025669,-0.077927075326443,-0.023209722712636,0.154988750815392,0.149959683418274,0.060978192836046,0.005471140611917,0.030872043222189,0.061435930430889,-0.144555583596230,-0.012414349243045,0.005157946143299,0.024448715150356) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.058197472244501,-0.055302985012531,-0.045029196888208,-0.042410664260387,0.026170929893851,-0.071519397199154,-0.013657623901963,-0.035037308931351,-0.135596483945847,0.013513037003577,-0.047864411026239,0.180561453104019,0.087883993983269,-0.017255118116736,0.025947490707040,0.057501237839460) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.105018049478531,0.028307670727372,0.138600006699562,0.048282433301210,-0.235976979136467,-0.082582809031010,-0.062752328813076,0.132195159792900,0.077984154224396,-0.112544931471348,0.156644687056541,0.138524860143661,0.275306880474091,-0.080088160932064,0.095209740102291,-0.160572364926338) * MODEL2_texOff(vec2(0,0));
res += mat4(0.164157778024673,-0.015456952154636,-0.284198969602585,0.118983604013920,-0.165646091103554,0.030985807999969,0.143999770283699,-0.137810289859772,-0.066604189574718,-0.105821982026100,-0.265432417392731,-0.142449870705605,-0.138763114809990,-0.087351769208908,-0.082169190049171,-0.080324850976467) * MODEL2_texOff(vec2(0,1));
res += mat4(0.054131709039211,-0.068647727370262,-0.031455211341381,-0.022621873766184,0.159207195043564,-0.059926535934210,-0.002971907844767,-0.031822074204683,-0.176363959908485,-0.008010827936232,-0.050198394805193,0.033671122044325,-0.044976890087128,0.010302949696779,0.038749504834414,0.073419027030468) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.112174645066261,-0.015466399490833,0.164531946182251,-0.076723352074623,0.173440977931023,-0.205294489860535,0.092154249548912,0.061766661703587,0.062787614762783,0.170872583985329,0.035895552486181,-0.061750385910273,0.108316242694855,-0.003746283939108,0.097571358084679,-0.072229154407978) * MODEL2_texOff(vec2(1,0));
res += mat4(0.166354641318321,-0.020631177350879,-0.073609106242657,-0.216007307171822,-0.015730930492282,-0.151903659105301,0.139746516942978,0.149918213486671,-0.042891103774309,0.058085601776838,-0.104079738259315,-0.137469694018364,-0.088089257478714,-0.063973173499107,-0.037158563733101,-0.065728425979614) * MODEL2_texOff(vec2(1,1));
res += mat4(0.134899601340294,-0.017728466540575,-0.094032429158688,0.041247833520174,-0.178565174341202,0.001022312091663,0.013991516083479,-0.043977040797472,-0.254412412643433,0.044686812907457,0.151399061083794,-0.052895542234182,0.061904702335596,-0.074253551661968,-0.044384013861418,0.178505852818489) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.051906447857618,0.018851689994335,0.101972773671150,0.107803277671337,-0.276701003313065,0.005684079136699,0.053280305117369,-0.112053938210011,0.111893296241760,0.020377261564136,-0.083129748702049,-0.098506562411785,0.137347549200058,0.071411885321140,0.101282745599747,0.195416346192360) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.039045330137014,0.014682319946587,0.077170163393021,-0.085114292800426,-0.168602526187897,0.074060522019863,0.117536820471287,0.020990958437324,0.044033210724592,-0.009398574009538,0.073879070580006,-0.051634967327118,0.170898213982582,0.055581785738468,0.085777305066586,-0.096272863447666) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.140256792306900,-0.046125657856464,-0.240226402878761,0.061100792139769,-0.322550863027573,0.022658474743366,0.056449703872204,-0.044753562659025,-0.011780243366957,0.015556369908154,-0.157357007265091,0.020000373944640,-0.114856377243996,-0.154650524258614,0.229380503296852,-0.103434257209301) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.001720103202388,-0.058666396886110,-0.077001914381981,-0.221479445695877,-0.385152667760849,-0.095618396997452,0.064486905932426,-0.206737935543060,0.151901185512543,-0.260028928518295,0.214655607938766,-0.145353972911835,0.019179850816727,0.043025229126215,-0.086029231548309,-0.072968386113644) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.121477730572224,-0.162174433469772,0.004752183798701,0.127978086471558,-0.144440278410912,-0.041102036833763,0.183297947049141,-0.023100908845663,0.005710476543754,0.194109588861465,-0.083579674363136,-0.050116948783398,0.067324727773666,0.015350751578808,-0.021608885377645,-0.050262063741684) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.049043737351894,-0.013614625670016,-0.048325356096029,0.008004051633179,0.000804544368293,-0.048902243375778,0.058680828660727,0.164653509855270,-0.013753717765212,-0.072062037885189,0.007549879606813,0.019503254443407,-0.038455519825220,0.187160328030586,-0.060397341847420,-0.006330153439194) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.029251037165523,-0.039600465446711,0.011615929193795,0.000584059860557,0.203617021441460,-0.019177794456482,0.074656523764133,-0.086055256426334,0.119726888835430,0.048073865473270,0.026554441079497,0.017663586884737,0.029756970703602,0.151966303586960,-0.215571492910385,-0.133428171277046) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.082539238035679,0.133329987525940,-0.050449561327696,-0.024163924157619,0.063498727977276,-0.071362614631653,-0.042917590588331,0.099504157900810,-0.089992426335812,0.006848012097180,-0.050805039703846,-0.037486355751753,0.020055703818798,-0.005148741416633,-0.109547890722752,0.111940242350101) * MODEL3_texOff(vec2(1,1));
res += mat4(0.045584812760353,-0.042485613375902,-0.102091565728188,-0.071503408253193,-0.359664976596832,0.018753908574581,0.138057544827461,-0.006588847842067,-0.094511710107327,0.053732022643089,-0.010715332813561,-0.119576767086983,-0.347083926200867,-0.025791246443987,0.239691212773323,-0.067771174013615) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.202210471034050,-0.042191300541162,-0.004852211568505,0.211433544754982,-0.131442472338676,-0.044317327439785,0.009822271764278,0.084559053182602,-0.036298468708992,0.044521979987621,0.029152369126678,0.008824867196381,-0.235709086060524,0.034376997500658,0.157535612583160,-0.004202023614198) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.210422962903976,0.076857455074787,0.004744331818074,0.146088093519211,0.202020093798637,0.010216811671853,-0.034059491008520,0.053022552281618,0.094720743596554,0.017636388540268,-0.012561976909637,-0.025320427492261,-0.100771240890026,-0.013678636401892,-0.018354862928391,0.075707405805588) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.263090848922729,0.058330666273832,0.183420985937119,0.017389781773090,-0.318903237581253,0.045368056744337,0.040372245013714,0.037308961153030,-0.799853146076202,0.017391249537468,-0.085477493703365,0.000671150628477,0.137288391590118,0.054138645529747,0.075420960783958,-0.142476320266724) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.174254566431046,-0.057866610586643,0.004146955907345,-0.090164884924889,-0.121662244200706,0.026628425344825,-0.038047369569540,-0.115262635052204,-0.175052642822266,0.017751397565007,0.025811208412051,0.039052668958902,0.066602826118469,0.214000761508942,0.046425540000200,-0.140859276056290) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.065488487482071,-0.064276717603207,0.302841216325760,0.093974061310291,0.162876367568970,-0.121084563434124,0.140468463301659,-0.002791411941871,0.008361679501832,-0.024086141958833,0.047805834561586,0.075792178511620,0.031076120212674,-0.020897211506963,0.118140399456024,0.077892258763313) * MODEL4_texOff(vec2(0,1));
res += mat4(0.141753748059273,-0.009726354852319,0.044628556817770,0.094546809792519,0.094580039381981,0.074570417404175,0.041826710104942,0.088349722325802,-0.116153366863728,0.016190342605114,-0.090285167098045,-0.069248676300049,0.098358601331711,-0.033417865633965,-0.027953749522567,-0.062113102525473) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.014622205868363,-0.057093478739262,-0.148672968149185,0.036436680704355,0.082752004265785,-0.055740412324667,-0.018860595300794,0.031783148646355,0.070227235555649,-0.008113759569824,-0.213103458285332,-0.032916240394115,0.113013654947281,-0.056102897971869,0.095851413905621,-0.076550826430321) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.031135654076934,0.027354953810573,0.051535207778215,0.068605229258537,0.095960475504398,-0.000858300598338,-0.058441091328859,0.122362636029720,-0.037726044654846,-0.078193776309490,-0.071468584239483,0.124204978346825,0.097495622932911,-0.017875613644719,-0.008844455704093,-0.023015903308988) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.123641707003117,0.013159873895347,0.123314291238785,0.040775705128908,0.078760743141174,0.019576292484999,-0.043924253433943,-0.018026731908321,-0.059356961399317,-0.002636744407937,-0.056322883814573,0.123843587934971,-0.204967990517616,-0.060249511152506,0.052651334553957,0.020774710923433) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.030275648459792,-0.016597140580416,-0.071218274533749,0.137031659483910,-0.218123629689217,-0.034450553357601,-0.166369661688805,0.101340584456921,-0.048752319067717,0.011353937909007,0.049018431454897,-0.028517480939627,-0.382114619016647,-0.026189448311925,0.127076685428619,0.104455940425396) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.084863618016243,-0.025530403479934,-0.210076749324799,0.002888057380915,-0.048332586884499,-0.154828757047653,-0.068703554570675,-0.006884910166264,0.118970423936844,-0.043137159198523,0.038452744483948,0.009691603481770,-0.135323047637939,0.025849860161543,0.022774705663323,0.009315852075815) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.042579814791679,-0.104804411530495,0.176588281989098,-0.110436625778675,0.043240908533335,0.019318401813507,0.112600624561310,0.064278304576874,-0.190929844975471,0.195470601320267,0.141490980982780,-0.043361369520426,0.075717821717262,-0.001794097828679,0.062075734138489,-0.251032978296280) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.037089969962835,-0.000957913172897,0.075360730290413,0.165965408086777,0.061602082103491,-0.163684278726578,0.303682208061218,-0.075937129557133,-0.101128846406937,-0.153546720743179,-0.175300642848015,-0.101035721600056,-0.310574382543564,0.071109637618065,-0.278233259916306,0.130693122744560) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.068211004137993,0.019848754629493,-0.034548971801996,-0.085531957447529,0.067498043179512,0.224482715129852,-0.090227745473385,-0.143297299742699,0.192042022943497,0.075837083160877,0.013366603292525,-0.071058169007301,-0.181961387395859,0.204127162694931,-0.116158910095692,-0.003241363912821) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.040979869663715,-0.041727453470230,0.152906298637390,-0.054739341139793,-0.002382122213021,0.069920301437378,-0.053301744163036,0.109565451741219,0.094640739262104,0.047801811248064,0.067671827971935,-0.147975921630859,0.102975167334080,-0.051645178347826,0.033682841807604,-0.116879813373089) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.354993313550949,-0.299095422029495,0.102480687201023,0.264878720045090,-0.065044596791267,0.135917514562607,0.045455105602741,-0.214211210608482,0.023764830082655,0.019611639901996,-0.173758327960968,0.045219562947750,-0.108135826885700,-0.073093324899673,-0.083189062774181,0.071140035986900) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.009355785325170,-0.147507220506668,-0.127684205770493,0.153004869818687,-0.014729349873960,-0.052375610917807,0.096114791929722,-0.182993903756142,0.044983725994825,0.003945915494114,-0.119785085320473,-0.172601044178009,-0.065576165914536,-0.063520856201649,-0.203675970435143,0.068580366671085) * MODEL5_texOff(vec2(1,1));
res += mat4(0.099798135459423,-0.009982285089791,0.052679255604744,0.015362916514277,-0.193459972739220,-0.078590147197247,-0.029807830229402,-0.008152909576893,-0.407299667596817,0.079679980874062,0.099645592272282,0.054946962743998,-0.100760318338871,-0.011667921207845,0.086112059652805,-0.043634347617626) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.432968825101852,0.207034155726433,0.162391707301140,0.014368301257491,0.163629293441772,-0.040455002337694,-0.127207219600677,-0.108475923538208,-0.114016011357307,0.129175275564194,-0.008424471132457,0.106935456395149,-0.226518124341965,-0.094585739076138,0.077561162412167,0.033445257693529) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.187941178679466,0.069275341928005,-0.184654399752617,-0.025441048666835,0.128280416131020,0.040251929312944,-0.060223717242479,-0.073967270553112,0.002149436157197,0.050427649170160,0.027246618643403,-0.035418722778559,-0.106519974768162,-0.013035693205893,-0.013275993987918,-0.056461069732904) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.310732543468475,-0.003024155506864,0.104033209383488,-0.072873547673225,-0.339803278446198,0.038597155362368,0.006441873498261,-0.120025150477886,-0.387910962104797,0.069074422121048,-0.111840039491653,0.007708275225013,0.070596754550934,-0.069684423506260,-0.073375597596169,0.003605794161558) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.011802575550973,0.045683730393648,-0.125583693385124,-0.002184524433687,-0.194250568747520,-0.088830530643463,-0.130064457654953,-0.057615198194981,0.086525939404964,0.072776153683662,-0.039569158107042,0.164874926209450,0.123449131846428,-0.089666061103344,0.112182155251503,0.058194898068905) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.000980321434326,0.100166872143745,-0.171103805303574,-0.114630006253719,0.180825904011726,-0.051304791122675,-0.054852999746799,0.043363407254219,-0.001587014528923,0.013190106488764,-0.008483639918268,0.235775932669640,0.219764888286591,0.011952808126807,0.158398970961571,0.024181557819247) * MODEL6_texOff(vec2(0,1));
res += mat4(0.146025940775871,0.084378704428673,0.125612601637840,-0.216575697064400,-0.113588362932205,0.076484128832817,-0.030484078451991,0.232308611273766,-0.025394180789590,0.051675383001566,-0.012662624008954,0.034819710999727,-0.074488751590252,0.013275263831019,0.025621144101024,-0.064488068223000) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.190537840127945,0.227926120162010,0.099665448069572,-0.217974856495857,-0.224377810955048,0.213447034358978,-0.022856235504150,0.047688666731119,0.063247546553612,0.163648426532745,-0.077944956719875,0.039663366973400,-0.139278218150139,0.069752790033817,-0.183458149433136,0.013631260022521) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.056049756705761,0.005024913698435,0.036144837737083,-0.187549725174904,-0.010926387272775,0.147021859884262,0.027728976681828,0.022320467978716,0.050493042916059,0.042824141681194,-0.087816223502159,-0.051994118839502,-0.038931649178267,0.100860014557838,0.014876752160490,-0.063420891761780) * MODEL6_texOff(vec2(1,1));
res += FEATURE5_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.007867641746998,0.744215607643127,0.581963956356049,0.144228532910347) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE6
//!SAVE MODEL12
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 4_6

vec4 hook()
{
vec4 res = vec4(-0.101384073495865,0.122918456792831,-0.009492516517639,-0.019033880904317);
res += mat4(-0.091625757515430,-0.020979592576623,-0.197547569870949,-0.032345365732908,0.139021292328835,-0.036498438566923,0.030776057392359,0.104274623095989,-0.046320542693138,0.142600178718567,-0.140029042959213,0.000255433667917,0.270838260650635,-0.124319761991501,0.139476463198662,-0.038565095514059) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.101510494947433,0.321704715490341,-0.067620359361172,0.012748293578625,0.220305010676384,0.014661993831396,0.138647869229317,0.149731546640396,0.171244755387306,0.105683028697968,0.035343352705240,-0.009775344282389,0.001520379213616,-0.038636572659016,0.042251676321030,-0.121824637055397) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.094980925321579,0.020058801397681,-0.012525050900877,0.007823949679732,-0.148040711879730,-0.048255234956741,0.106402702629566,0.022749328985810,-0.193995445966721,-0.082745693624020,0.087574586272240,0.016025615856051,0.024648282676935,-0.173727616667747,0.033923182636499,-0.030115492641926) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.234537973999977,0.029253499582410,0.117814660072327,-0.025078406557441,0.150587975978851,-0.100416637957096,0.138891473412514,-0.061217997223139,-0.192940220236778,-0.034726746380329,-0.390258252620697,-0.172378405928612,0.234817892313004,-0.288025528192520,-0.096402354538441,-0.177399143576622) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.311152040958405,-0.037586808204651,-0.086298719048500,0.004118680488318,-0.063948795199394,-0.053816877305508,0.284675061702728,0.104778453707695,-0.218808516860008,-0.117758601903915,-0.115702770650387,-0.378457844257355,-0.074826091527939,-0.014686653390527,0.319478511810303,0.080017037689686) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.068847283720970,0.059409413486719,0.196333050727844,-0.043570611625910,-0.096476204693317,-0.256902337074280,0.191178813576698,0.144862264394760,-0.027694238349795,-0.144954860210419,0.124573990702629,0.011347064748406,0.131980985403061,-0.257420361042023,-0.168450266122818,0.042490646243095) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.221401393413544,0.061343617737293,-0.083683729171753,-0.328328162431717,-0.030540207400918,0.015368013642728,0.019365670159459,-0.008299061097205,-0.084143869578838,0.063295580446720,0.032231144607067,0.039707943797112,0.158338457345963,-0.065648257732391,-0.118773251771927,-0.216071888804436) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.007554301526397,-0.073297902941704,-0.211919903755188,-0.336252331733704,-0.123881928622723,-0.052673306316137,-0.126032307744026,0.061982158571482,-0.224022433161736,0.176425546407700,-0.042767733335495,0.141446530818939,0.124328136444092,-0.028292424976826,-0.137792333960533,0.061061944812536) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.124521806836128,0.085331164300442,0.081914395093918,-0.160148546099663,-0.172576740384102,0.033033244311810,0.028173584491014,0.116458356380463,-0.198610633611679,-0.027633240446448,-0.194182395935059,0.025347499176860,0.202901676297188,-0.109767377376556,0.023982301354408,0.156708925962448) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.005220100749284,-0.000998487113975,-0.155465736985207,-0.050983432680368,0.193020671606064,-0.026900159195065,0.158323764801025,0.014055321924388,0.010854410007596,-0.123995922505856,-0.013338083401322,0.013179521076381,-0.294246882200241,0.015209335833788,-0.063383936882019,-0.013074441812932) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.150607347488403,0.016138616949320,0.043771274387836,-0.043276559561491,-0.035435967147350,0.008252494037151,0.174053072929382,0.163855984807014,-0.016482520848513,0.023084029555321,0.032153416424990,-0.057704035192728,-0.152566060423851,-0.024972587823868,0.060364659875631,0.036418512463570) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.148395121097565,0.025101175531745,-0.148479834198952,-0.048172503709793,0.139277696609497,-0.260593950748444,-0.116969034075737,0.098840720951557,-0.036964692175388,-0.064261868596077,-0.074462331831455,-0.086325377225876,-0.304078668355942,-0.110748723149300,0.027336921542883,0.052440036088228) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.209067150950432,-0.045812226831913,-0.062270734459162,0.038761012256145,0.177147805690765,-0.065728947520256,0.203275248408318,0.094105727970600,0.050493046641350,0.046657841652632,-0.274350523948669,0.003590529086068,-0.207412600517273,-0.001899839029647,-0.095466122031212,-0.053653832525015) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.037561789155006,0.054037824273109,0.165109723806381,0.154598981142044,0.234654098749161,0.133453622460365,-0.028329173102975,0.073915123939514,0.158376574516296,-0.037578366696835,0.052752118557692,0.051532734185457,-0.109925799071789,-0.146737262606621,0.070947267115116,-0.024599244818091) * MODEL2_texOff(vec2(0,0));
res += mat4(0.210081711411476,0.133011415600777,0.195881903171539,0.095242105424404,0.158689424395561,-0.156314611434937,-0.279902428388596,-0.015518344007432,-0.148220792412758,-0.053372856229544,-0.037559177726507,-0.096580535173416,0.212257966399193,-0.138459056615829,-0.039345975965261,-0.014298860915005) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.012183936312795,-0.031123852357268,-0.018147140741348,-0.024805238470435,0.112800091505051,0.041621401906013,0.026663890108466,0.077011130750179,-0.110724493861198,0.023772411048412,-0.065812960267067,-0.053215812891722,-0.093352228403091,-0.044099967926741,-0.161294549703598,-0.011100844480097) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.008535729721189,0.076832704246044,-0.033265318721533,-0.103576116263866,0.098758466541767,-0.006268047727644,-0.023716222494841,0.184446811676025,0.172100141644478,-0.128087922930717,-0.222928091883659,-0.189911186695099,-0.095166496932507,-0.134395375847816,-0.003691129852086,0.056641601026058) * MODEL2_texOff(vec2(1,0));
res += mat4(0.279964208602905,0.063901461660862,0.198512598872185,-0.107836939394474,0.158910736441612,0.144319504499435,-0.273355841636658,0.107871763408184,-0.042960807681084,0.070257060229778,-0.167642846703529,-0.150937587022781,-0.053944684565067,-0.018038272857666,0.003484367392957,0.062464561313391) * MODEL2_texOff(vec2(1,1));
res += mat4(0.003687354736030,0.298880308866501,0.008798922412097,0.080714389681816,-0.070730306208134,-0.159707769751549,0.060626253485680,-0.011810657568276,-0.055909514427185,0.006916315294802,-0.047466516494751,-0.027341004461050,-0.020009899511933,-0.015302870422602,0.123349636793137,0.080349542200565) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.004910173360258,0.262362211942673,0.185700312256813,0.002992191817611,-0.219468086957932,-0.223673298954964,0.008569431491196,0.023027284070849,-0.094357036054134,-0.045171268284321,0.077653564512730,0.022502820938826,0.282939970493317,-0.057039160281420,0.164844557642937,0.000832313206047) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.005350366234779,0.124393209815025,0.079557687044144,-0.071521818637848,-0.348990559577942,-0.186785072088242,-0.057743061333895,0.048601306974888,0.145296022295952,0.038643036037683,0.048724152147770,-0.012590059079230,0.306374490261078,0.096189282834530,0.095322422683239,0.001864513615146) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.111185066401958,-0.059318616986275,-0.094919808208942,-0.022320307791233,0.024622669443488,-0.120520524680614,-0.056312073022127,-0.036104839295149,-0.018548866733909,0.054255049675703,-0.055581796914339,0.014466198161244,-0.074072577059269,-0.152440190315247,-0.130204647779465,0.059574615210295) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.032829813659191,-0.053802452981472,-0.027494313195348,0.084358163177967,0.046726122498512,-0.171166807413101,0.142795547842979,0.213346138596535,-0.099867999553680,0.009478623047471,0.170707851648331,0.064201049506664,-0.075461745262146,-0.208401814103127,0.022743333131075,0.025298403576016) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.121595308184624,0.024295529350638,0.023752113804221,0.119842141866684,-0.226449728012085,-0.163172259926796,0.164232999086380,0.174775376915932,0.095630191266537,-0.168715208768845,-0.265190660953522,-0.194593846797943,0.265355199575424,0.144644960761070,0.153769239783287,0.106157720088959) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.269827783107758,0.191372230648994,0.124011270701885,0.013163181953132,0.028459055349231,-0.033095642924309,-0.199057579040527,-0.001074166968465,-0.002769067883492,0.105265699326992,-0.109077185392380,0.001794717973098,-0.012150423601270,-0.010568731464446,-0.201596200466156,-0.128320783376694) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.179028287529945,0.022017719224095,-0.157988771796227,-0.126075193285942,-0.029328074306250,-0.064522609114647,0.100819163024426,0.013310057111084,-0.129363760352135,0.003139333100989,-0.182898998260498,-0.180606320500374,0.037070803344250,-0.143346503376961,-0.122348040342331,-0.182468742132187) * MODEL3_texOff(vec2(1,0));
res += mat4(0.208924964070320,-0.010928920470178,0.065156690776348,-0.168231576681137,-0.035055126994848,-0.062078744173050,0.130913689732552,0.149679526686668,-0.125827655196190,-0.008732810616493,-0.140956908464432,0.069371491670609,0.071119248867035,0.039970096200705,0.102752447128296,0.013654981739819) * MODEL3_texOff(vec2(1,1));
res += mat4(0.084250174462795,0.062472030520439,-0.129295930266380,0.081851385533810,0.269614309072495,-0.041934356093407,0.146386399865150,0.085311286151409,-0.098782949149609,-0.097398005425930,-0.032417610287666,-0.034079380333424,0.098624750971794,-0.247128054499626,-0.199041724205017,-0.002108913846314) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.200987696647644,-0.108541540801525,0.062728174030781,0.013747474178672,0.014686281792819,-0.065658867359161,0.042615540325642,0.118421688675880,-0.147981479763985,-0.038546912372112,-0.018765265122056,-0.093990795314312,-0.029785700142384,0.136400759220123,-0.197929024696350,-0.071068488061428) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.166832581162453,0.157774448394775,-0.062836356461048,0.003740622196347,-0.321108222007751,0.029652316123247,0.149236202239990,0.010740865953267,-0.027174783870578,-0.038098886609077,-0.120736308395863,-0.044156968593597,0.071279175579548,0.055495847016573,0.071663640439510,0.170074790716171) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.018097354099154,0.027613731101155,-0.227650701999664,-0.288271963596344,0.201920285820961,0.103107951581478,0.034346371889114,-0.035693161189556,-0.063534282147884,-0.120323628187180,-0.110086232423782,-0.061701148748398,0.191940963268280,-0.098640568554401,-0.031928353011608,-0.055162996053696) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.036489799618721,-0.010003637522459,0.127810642123222,-0.051021739840508,0.044982660561800,-0.171078771352768,-0.079872258007526,-0.109426833689213,-0.130534127354622,-0.047524254769087,-0.158992558717728,-0.083724960684776,0.133516803383827,-0.026723721995950,-0.253132373094559,0.027955390512943) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.083027243614197,-0.020630475133657,-0.171620070934296,-0.023396929726005,-0.099907301366329,0.130851656198502,0.300082117319107,-0.038858097046614,-0.021390207111835,-0.064447768032551,-0.031010676175356,-0.026002572849393,0.075980953872204,0.030520502477884,0.099240705370903,-0.058330658823252) * MODEL4_texOff(vec2(0,1));
res += mat4(0.231638818979263,-0.051888443529606,-0.232622295618057,0.056175190955400,0.083619989454746,0.137024253606796,-0.178513109683990,-0.056318540126085,-0.107689172029495,-0.047174114733934,-0.114065945148468,-0.123330682516098,0.117141827940941,-0.006135707721114,0.053158339112997,-0.000013586395653) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.194719448685646,0.036505833268166,0.238884046673775,0.226016953587532,0.039448559284210,0.071119531989098,0.055989205837250,0.002725318539888,-0.161908730864525,0.042081393301487,-0.266169100999832,-0.038975890725851,-0.174156606197357,0.029471682384610,-0.044937644153833,0.015046483837068) * MODEL4_texOff(vec2(1,0));
res += mat4(0.031586963683367,-0.074098020792007,-0.136483207345009,-0.137572377920151,0.129505887627602,0.044285099953413,0.013853927142918,-0.022548658773303,-0.143314078450203,-0.080332934856415,-0.054480910301208,-0.074826002120972,0.060577400028706,0.057480391114950,-0.149182155728340,0.122874312102795) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.008704131469131,-0.121538542211056,-0.004470321815461,-0.027313537895679,-0.047748040407896,-0.029411530122161,-0.051437102258205,0.008096325211227,0.145873695611954,0.026709258556366,0.034230720251799,-0.032539583742619,0.053731877356768,0.067270554602146,0.039418410509825,0.008086575195193) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.048691917210817,0.278338164091110,0.050572469830513,0.067161224782467,0.024346450343728,-0.066529788076878,-0.125965312123299,0.043948724865913,-0.038033429533243,-0.195453777909279,0.089727595448494,0.071461834013462,0.027403425425291,0.146503284573555,0.057191230356693,-0.160340845584869) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.037725467234850,-0.065839469432831,0.061881430447102,0.046243932098150,-0.171729609370232,-0.063225835561752,-0.056884232908487,0.032362032681704,-0.135864511132240,0.029820201918483,0.211828887462616,0.060237608850002,0.053227003663778,-0.041799459606409,0.092153027653694,-0.002596785081550) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.031769383698702,-0.257903426885605,-0.029392076656222,-0.071459643542767,0.114991463720798,-0.075330071151257,-0.218932360410690,0.015087950043380,-0.009208605624735,-0.043439086526632,-0.042043387889862,-0.167353227734566,0.107623077929020,0.055319618433714,0.212936639785767,-0.111178435385227) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.198061034083366,-0.645955920219421,-0.261697024106979,-0.098817646503448,0.017066793516278,0.242509737610817,-0.002646717475727,0.246443465352058,-0.051523767411709,-0.019655147567391,0.080082632601261,-0.089150100946426,0.281630188226700,0.151362329721451,0.043799269944429,-0.035905908793211) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.112623959779739,-0.111111149191856,0.456004381179810,0.078264951705933,0.055601008236408,0.020008200779557,-0.112979695200920,0.007022763602436,-0.194491341710091,-0.085536271333694,-0.012573331594467,-0.083644852042198,-0.024263886734843,-0.115876145660877,0.110191695392132,-0.012005016207695) * MODEL5_texOff(vec2(0,1));
res += mat4(0.027757355943322,-0.181960389018059,-0.107403904199600,0.069317527115345,0.020441489294171,-0.063144892454147,-0.095261953771114,-0.026031835004687,0.097607545554638,0.062716156244278,0.183639973402023,-0.186568811535835,0.243646815419197,-0.058796562254429,-0.048325542360544,-0.068081237375736) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.105150014162064,0.018834266811609,-0.013622341677547,0.126399189233780,0.001754244789481,0.059116449207067,-0.183918714523315,-0.401258021593094,0.129716753959656,0.081377387046814,-0.022290134802461,-0.041087433695793,0.030214414000511,0.146736443042755,0.056474048644304,0.083451054990292) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.090698480606079,-0.082211278378963,-0.232286632061005,0.232997313141823,-0.027522077783942,0.032116215676069,0.126810073852539,0.014661372639239,-0.012694161385298,0.000525915180333,-0.172248646616936,-0.081420332193375,-0.187414690852165,0.009301469661295,-0.183412030339241,0.034180074930191) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.113842517137527,0.143806383013725,-0.020715530961752,0.058243762701750,-0.013521064072847,-0.044650018215179,0.018896996974945,-0.027141068130732,-0.182065457105637,0.077776402235031,0.076514452695847,0.076105192303658,-0.186628878116608,-0.033033534884453,-0.186457991600037,-0.145229667425156) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.094609528779984,0.158085674047470,-0.211403265595436,-0.128657802939415,-0.037159133702517,0.125846222043037,0.079506151378155,0.005187923554331,-0.338907629251480,0.204721346497536,0.166628807783127,-0.075539946556091,0.221266597509384,-0.045357808470726,-0.049219373613596,-0.100379206240177) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.282628417015076,0.134427353739738,0.011912142857909,-0.184226080775261,0.121190153062344,0.063774406909943,0.152566865086555,0.096929892897606,0.002073931042105,0.119709797203541,0.049545872956514,0.008424415253103,0.121130242943764,0.066190868616104,0.127484187483788,0.089814819395542) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.145826712250710,-0.025526328012347,0.102185040712357,0.040102664381266,0.026538357138634,0.055625848472118,-0.113730795681477,0.097447291016579,-0.047254789620638,0.192400231957436,0.105305559933186,-0.043082226067781,-0.159994646906853,-0.129044979810715,-0.190726071596146,-0.029335558414459) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.007964870892465,0.267522990703583,0.221692964434624,-0.153528168797493,0.126153558492661,0.048287834972143,0.010791358537972,-0.014988821931183,-0.123611472547054,0.108066610991955,0.032400805503130,-0.031351324170828,0.125990018248558,0.212255373597145,0.222055375576019,0.031592737883329) * MODEL6_texOff(vec2(0,0));
res += mat4(0.106602497398853,0.069542169570923,0.047897424548864,-0.013048150576651,0.134860470890999,-0.023179026320577,-0.073088191449642,-0.078768908977509,-0.018783930689096,0.052853669971228,0.024960827082396,-0.069897681474686,0.179364249110222,-0.036442708224058,-0.290766566991806,-0.032772205770016) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.299485206604004,-0.081704340875149,-0.034027364104986,-0.129181280732155,-0.257025688886642,0.004248950630426,0.032065026462078,-0.222769498825073,-0.030137937515974,0.224844977259636,-0.109654881060123,-0.056814752519131,-0.172366529703140,-0.005365978926420,-0.082288794219494,0.085611745715141) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.063669621944427,0.144834667444229,-0.102911628782749,-0.280430763959885,-0.093521878123283,-0.132123142480850,-0.112589836120605,-0.246947482228279,0.020014185458422,0.034764286130667,-0.072623252868652,-0.041233517229557,0.029469368979335,-0.044906858354807,-0.057825852185488,0.106023900210857) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.160281240940094,0.053061082959175,0.087631031870842,-0.001682500937022,-0.053159721195698,-0.076574318110943,-0.071404881775379,-0.053721230477095,0.012843378819525,0.001434217439964,0.060376118868589,0.041619475930929,-0.039974905550480,0.002126551000401,-0.035571407526731,-0.041200686246157) * MODEL6_texOff(vec2(1,1));
res += FEATURE6_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.160748049616814,0.033244304358959,0.249468967318535,-0.049866773188114) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL1
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 5_1

vec4 hook()
{
vec4 res = vec4(-0.267081916332245,-0.006526983343065,0.058654118329287,-0.150254607200623);
res += mat4(0.061453010886908,-0.087418243288994,0.056270413100719,0.021006537601352,0.138617366552353,0.031866919249296,0.032616842538118,0.012756410986185,0.072228625416756,0.023991949856281,0.064099088311195,-0.134655162692070,0.051018562167883,0.033687617629766,-0.115423813462257,0.131991818547249) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.064182579517365,-0.102595448493958,0.186450541019440,0.138283088803291,0.024351581931114,0.044587016105652,-0.186563804745674,-0.098019436001778,-0.045835465192795,0.074396803975105,-0.207586690783501,0.203436493873596,0.147145152091980,0.038886733353138,0.025230377912521,-0.121609419584274) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.016649533063173,0.188881337642670,0.098352901637554,0.185272306203842,0.051598668098450,-0.135793998837471,0.054949056357145,-0.048162180930376,-0.016058867797256,-0.041484758257866,-0.013723508454859,0.022881422191858,-0.097182273864746,-0.074492603540421,-0.117414973676205,0.020272092893720) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.081669449806213,-0.122374609112740,0.031252667307854,-0.181853249669075,-0.249471023678780,0.149648651480675,-0.108298063278198,0.146193504333496,0.014436978846788,-0.146040976047516,-0.103968903422356,0.043632663786411,0.060573507100344,0.118366479873657,-0.038125220686197,-0.071957923471928) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.328806638717651,-0.191314697265625,0.088597476482391,-0.022039625793695,-0.178817704319954,0.064068831503391,-0.150377377867699,-0.063366465270519,0.105311922729015,-0.099830217659473,0.191497758030891,-0.143230587244034,-0.018097912892699,-0.013543079607189,-0.133251115679741,0.000146762424265) * MODEL7_texOff(vec2(0,0));
res += mat4(0.161927223205566,0.051196832209826,-0.029866445809603,-0.066638104617596,-0.113200560212135,-0.011199368163943,0.076321601867676,0.018485339358449,-0.114467807114124,0.158911988139153,-0.020894283428788,-0.017413407564163,-0.070107959210873,-0.040364790707827,-0.147347122430801,0.038522735238075) * MODEL7_texOff(vec2(0,1));
res += mat4(0.061528135091066,-0.225699394941330,0.038909655064344,-0.020498272031546,-0.005164808128029,-0.128674209117889,-0.018329711630940,-0.052776508033276,-0.003273960901424,-0.067241393029690,-0.027661465108395,-0.058978211134672,-0.124352015554905,0.063894972205162,-0.001036088564433,-0.039090987294912) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.111601211130619,-0.097983166575432,0.053504139184952,0.009950077161193,-0.209257438778877,-0.322566568851471,-0.041301567107439,0.056603208184242,-0.138525217771530,0.098730802536011,-0.205408707261086,0.085545755922794,-0.001360179041512,-0.081974469125271,0.027052264660597,-0.048810534179211) * MODEL7_texOff(vec2(1,0));
res += mat4(0.056082688271999,0.063089221715927,0.032011706382036,-0.041681058704853,-0.073740951716900,-0.033455092459917,0.100086212158203,-0.057624686509371,-0.080810204148293,-0.097587004303932,-0.079447433352470,-0.019956868141890,-0.055395711213350,0.118855781853199,-0.034332476556301,0.041686285287142) * MODEL7_texOff(vec2(1,1));
res += mat4(0.143009766936302,0.176392227411270,-0.046605613082647,-0.127709671854973,-0.094619616866112,-0.102386198937893,0.072437658905983,-0.045159142464399,-0.133107855916023,0.053430765867233,-0.054467849433422,-0.205399155616760,-0.011587654240429,0.088559344410896,0.010479202494025,0.051555819809437) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.050788804888725,-0.117770113050938,0.224806338548660,-0.043508458882570,-0.063271977007389,-0.020479708909988,-0.009815650992095,0.102042473852634,-0.078290268778801,0.176905512809753,-0.040744025260210,-0.007958269678056,-0.186952054500580,0.179701045155525,0.038292095065117,0.073098070919514) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.162714496254921,0.206791535019875,-0.058360621333122,0.099472284317017,-0.015043698251247,-0.057817857712507,0.071995452046394,-0.027131954208016,0.175747931003571,-0.097051590681076,0.017798051238060,0.031501028686762,-0.017243465408683,-0.121120467782021,0.045137532055378,-0.052683800458908) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.167398303747177,0.137169972062111,0.074911728501320,-0.019410233944654,-0.173762485384941,-0.178843706846237,0.106887318193913,0.083380982279778,0.196648433804512,-0.196001186966896,0.134897321462631,-0.054511506110430,-0.054784301668406,0.015372805297375,0.110209532082081,-0.021968996152282) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.029523739591241,-0.012223487719893,-0.106641583144665,-0.164650440216064,0.348204433917999,-0.165430679917336,0.032025255262852,-0.117469385266304,0.069153845310211,0.057781469076872,0.091355942189693,-0.166993767023087,0.196462616324425,0.050475068390369,0.130207717418671,-0.075144074857235) * MODEL8_texOff(vec2(0,0));
res += mat4(0.103492408990860,0.090564936399460,0.021483764052391,-0.026839854195714,-0.080431088805199,0.060033529996872,0.202823132276535,-0.037115689367056,-0.030824795365334,0.085089884698391,0.149656191468239,0.009187011048198,-0.047473307698965,-0.161329105496407,0.028585985302925,0.125632539391518) * MODEL8_texOff(vec2(0,1));
res += mat4(0.053714651614428,-0.088118731975555,-0.040179390460253,0.037195950746536,-0.031731203198433,0.226258277893066,-0.082533799111843,-0.122306428849697,-0.105830751359463,0.069853007793427,0.049071393907070,0.037614375352859,-0.124172210693359,0.027214212343097,-0.038939978927374,0.064822562038898) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.254163891077042,0.113876812160015,0.022619802504778,-0.072428107261658,0.028539877384901,-0.322264850139618,0.058549121022224,-0.018345745280385,0.100360311567783,-0.172325640916824,0.045831866562366,-0.015278637409210,-0.086344040930271,0.278988838195801,0.004951182752848,0.007532048970461) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.013292965479195,-0.140768647193909,0.116448000073433,0.003567968960851,0.052916221320629,0.051880683749914,0.093633070588112,0.025744283571839,-0.080285720527172,0.051223579794168,-0.006535475142300,-0.008770931512117,0.040960308164358,-0.339441537857056,-0.080525308847427,-0.024216054007411) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.065569050610065,-0.078462325036526,0.035832840949297,0.013955058529973,0.159326925873756,-0.060947164893150,0.146874636411667,-0.075260579586029,-0.009291321970522,-0.031310472637415,-0.089924216270447,-0.023678287863731,-0.096326887607574,-0.311666429042816,0.130597770214081,0.029277609661222) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.054775990545750,0.156960740685463,-0.005364531651139,0.101616151630878,-0.041402395814657,-0.187835335731506,-0.050412248820066,-0.074266530573368,0.199529275298119,-0.110597573220730,-0.283464163541794,-0.394673287868500,0.018337627872825,0.022097069770098,0.036559544503689,-0.019738081842661) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.050705678761005,-0.123221270740032,0.057048905640841,0.048116352409124,-0.130784556269646,0.032098270952702,0.049954354763031,0.029735621064901,0.094380103051662,0.098324574530125,-0.162403807044029,-0.077264018356800,-0.088289596140385,-0.006931148935109,-0.136984691023827,-0.025109091773629) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.100329361855984,-0.255231678485870,0.041213434189558,0.004448325373232,0.263139188289642,0.042832870036364,0.064063832163811,0.063290998339653,-0.141005143523216,-0.225390911102295,0.050763860344887,-0.091780006885529,0.023320818319917,-0.239108934998512,0.091355234384537,0.001968423835933) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.114166893064976,0.025990027934313,0.079077407717705,-0.053941778838634,-0.120777472853661,0.173723116517067,-0.002980562159792,0.034939769655466,-0.114064469933510,-0.082500912249088,0.012337732128799,0.021681576967239,0.179593652486801,-0.032919675111771,-0.288995325565338,-0.166661158204079) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.001214155228809,-0.118891887366772,-0.008939876221120,-0.015218053013086,-0.102083928883076,-0.112225010991096,0.167000502347946,-0.017256205901504,0.041550740599632,0.141027286648750,0.157829448580742,0.111335977911949,-0.351625204086304,0.114271022379398,-0.021223515272141,-0.091393627226353) * MODEL9_texOff(vec2(0,1));
res += mat4(0.094808675348759,-0.148276299238205,0.062404446303844,0.033098898828030,0.184451594948769,0.001211422146298,0.022781552746892,0.042083699256182,0.006264090538025,0.023462979122996,-0.050616748631001,0.083105608820915,0.092105090618134,0.004468650557101,-0.034805323928595,-0.035919472575188) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.027041383087635,-0.420799940824509,0.008393592201173,-0.033579267561436,0.054177369922400,0.206411093473434,-0.009648608975112,-0.055979643017054,-0.204762786626816,0.091532416641712,0.084973759949207,0.132823780179024,-0.145995214581490,-0.116938196122646,0.001830496243201,-0.083639621734619) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.014357229694724,0.096479110419750,0.144416257739067,-0.093994088470936,-0.015345091931522,-0.012100992724299,0.026205956935883,-0.090528137981892,-0.081277146935463,-0.010014357976615,0.083961263298988,0.105935186147690,-0.018091831356287,-0.067950271070004,-0.002018596976995,-0.013393593952060) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.075736895203590,-0.015111961401999,-0.061589889228344,0.166800707578659,0.055716939270496,0.163060516119003,-0.018902283161879,0.074749372899532,-0.079610653221607,-0.110720358788967,-0.024194383993745,-0.055248975753784,0.022111719474196,-0.100675679743290,-0.028913123533130,0.077407047152519) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.081905439496040,-0.220620691776276,0.032490696758032,0.015998953953385,0.152534529566765,-0.071019127964973,0.048514679074287,-0.477523475885391,0.091145396232605,-0.084293395280838,-0.041959982365370,-0.003936956636608,-0.028218904510140,-0.029204703867435,0.029783364385366,0.103009693324566) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.037170380353928,0.140864238142967,0.068232357501984,-0.037094283849001,0.169723466038704,-0.042056765407324,0.014705388806760,-0.245690301060677,0.060321256518364,-0.092213287949562,0.159739971160889,-0.028430012986064,-0.029401466250420,0.023804137483239,0.205877408385277,0.050522238016129) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.201971039175987,0.138176679611206,-0.002199772512540,-0.179093241691589,-0.104283310472965,0.290485203266144,0.089274831116199,0.106984630227089,0.117204390466213,0.065275318920612,0.053986940532923,0.006367286667228,0.054070468991995,0.056438975036144,-0.004122189246118,-0.076163083314896) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.020314227789640,0.284536421298981,-0.190417170524597,-0.004912897944450,-0.248476982116699,-0.372286707162857,0.012151552364230,-0.020985465496778,-0.099819429218769,-0.136329472064972,0.087327294051647,-0.058150380849838,-0.149024024605751,-0.016847437247634,-0.106790408492088,0.035202763974667) * MODEL10_texOff(vec2(0,0));
res += mat4(0.041492775082588,-0.389776468276978,0.220584034919739,0.084916666150093,-0.049484293907881,-0.052378915250301,-0.045190181583166,-0.010320305824280,-0.014226283878088,0.003948733676225,-0.181548014283180,-0.021767633035779,-0.073456257581711,0.201044872403145,-0.251099854707718,0.004616672173142) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.129760518670082,0.252558827400208,0.029348932206631,0.139553189277649,0.179382190108299,0.049771860241890,0.021605851128697,-0.021008569747210,0.022275874391198,0.195730879902840,0.000310515781166,-0.017606876790524,0.057258453220129,-0.089920111000538,0.021729942411184,-0.023637488484383) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.045346692204475,0.121075600385666,0.012004046700895,0.015623169019818,0.157866552472115,-0.086753979325294,-0.002380218124017,0.039339404553175,0.059948302805424,-0.286685138940811,-0.025105396285653,0.066421270370483,-0.005847585853189,0.153383567929268,0.012686577625573,0.065395824611187) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.019022906199098,-0.394986718893051,-0.010558849200606,0.034015558660030,0.010546784847975,-0.156957179307938,-0.034168142825365,0.045731857419014,0.008210156112909,0.014549435116351,0.027173005044460,0.063503868877888,0.056768275797367,0.141750887036324,0.039092272520065,0.022771066054702) * MODEL10_texOff(vec2(1,1));
res += mat4(0.076759934425354,0.026287496089935,-0.029838489368558,0.124221369624138,-0.041719406843185,0.125440880656242,-0.023753840476274,-0.060381401330233,-0.073141418397427,0.283834338188171,0.108328692615032,-0.031753521412611,0.024903718382120,-0.189780205488205,-0.007601435296237,-0.077995382249355) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.004089007154107,-0.018987895920873,0.081306181848049,0.263993799686432,-0.067599304020405,0.089033044874668,0.047249108552933,0.127866998314857,0.113178573548794,-0.146713703870773,-0.032386444509029,-0.052544988691807,0.047952726483345,0.059659637510777,-0.294991314411163,0.232704684138298) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.127193763852119,0.039153207093477,0.018307855352759,0.270485818386078,-0.047685693949461,-0.106255538761616,-0.065178476274014,-0.017308169975877,0.013473861850798,0.037585534155369,0.085596390068531,0.042153835296631,-0.016064483672380,0.001134729711339,0.073791690170765,0.086370833218098) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.117629528045654,0.051171947270632,-0.036761168390512,0.161819428205490,-0.177487090229988,-0.253169089555740,-0.089975498616695,0.015661939978600,0.082063801586628,0.254230707883835,-0.016236416995525,-0.027059655636549,0.032213468104601,-0.402637153863907,0.057484436780214,0.033720709383488) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.033786494284868,-0.185543552041054,0.064027145504951,0.175841182470322,0.240361943840981,-0.016050498932600,0.221376106142998,-0.037161871790886,0.222516998648643,-0.158465608954430,0.152942180633545,-0.086304225027561,0.290752381086349,0.053196657449007,0.016918053850532,-0.167519301176071) * MODEL11_texOff(vec2(0,0));
res += mat4(0.258404046297073,-0.249009266495705,0.299852132797241,-0.034851692616940,-0.104273147881031,0.112037710845470,-0.238773912191391,-0.060701809823513,0.058850746601820,-0.177577227354050,0.033092804253101,-0.121610984206200,0.005682163871825,-0.066922821104527,0.253742396831512,0.110485978424549) * MODEL11_texOff(vec2(0,1));
res += mat4(0.185469076037407,0.041394148021936,-0.049602113664150,0.152120515704155,-0.163061797618866,0.036446839570999,-0.069908246397972,0.128606066107750,-0.125476941466331,-0.166668713092804,0.045109190046787,0.019521377980709,-0.028259299695492,0.105955481529236,-0.011952742934227,-0.050849486142397) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.012443547137082,-0.076400294899940,-0.067775972187519,-0.006129858549684,0.162230923771858,-0.123721711337566,0.108977928757668,0.013383873738348,-0.190279796719551,-0.164285153150558,-0.082593932747841,0.170510172843933,-0.014951674267650,0.000063027444412,-0.034191764891148,-0.117316365242004) * MODEL11_texOff(vec2(1,0));
res += mat4(0.075849466025829,-0.205332800745964,0.016016501933336,0.109680972993374,-0.047235284000635,0.039237786084414,-0.102312728762627,-0.026273071765900,-0.136658251285553,0.014911131933331,0.037266965955496,0.016687566414475,0.020677261054516,-0.098453454673290,-0.010041907429695,-0.044435616582632) * MODEL11_texOff(vec2(1,1));
res += mat4(0.248154446482658,0.163355216383934,0.024842090904713,-0.014829011633992,-0.073771409690380,-0.172429099678993,0.025992678478360,0.050451047718525,-0.057444691658020,0.050036281347275,0.098172947764397,0.123115725815296,0.133441016077995,-0.152463108301163,0.088563330471516,-0.171468272805214) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.175737902522087,0.239485114812851,-0.063073299825191,0.038419026881456,0.010181440040469,0.024328589439392,0.205604448914528,0.015660943463445,0.076320998370647,0.071630083024502,-0.018344596028328,0.109582923352718,0.159221202135086,0.128241702914238,-0.166885286569595,0.180747851729393) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.206783711910248,-0.065109163522720,0.063577637076378,0.146115496754646,-0.059793334454298,0.164615273475647,0.059884503483772,0.021446380764246,0.044588007032871,0.009717759676278,-0.195516258478165,-0.067683801054955,0.084653601050377,-0.038391575217247,-0.044364657253027,0.024646472185850) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.134119853377342,0.061652172356844,0.025507761165500,-0.150958716869354,-0.057792842388153,-0.048234652727842,-0.045670893043280,-0.106135971844196,0.295969724655151,-0.033071149140596,0.079832777380943,-0.038541041314602,0.132367432117462,-0.134417295455933,-0.077373489737511,-0.099518716335297) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.038545306771994,0.125500157475471,0.212420389056206,0.017396513372660,-0.095889151096344,0.363483309745789,-0.057351056486368,0.186968177556992,-0.036132410168648,0.076565317809582,-0.027960285544395,0.089958734810352,0.059183042496443,-0.164032518863678,-0.116304896771908,0.073836103081703) * MODEL12_texOff(vec2(0,0));
res += mat4(0.096765346825123,-0.126947328448296,-0.026723876595497,0.155954748392105,-0.079829774796963,-0.016111874952912,0.083248853683472,-0.009819231927395,0.077279821038246,-0.085426464676857,-0.210693433880806,-0.052729874849319,0.010408159345388,-0.180784210562706,0.048494081944227,0.030760161578655) * MODEL12_texOff(vec2(0,1));
res += mat4(0.224554210901260,0.007449722848833,0.048063680529594,-0.004429217893630,-0.056290227919817,-0.095857635140419,-0.008821155875921,0.015512662939727,0.116172365844250,0.049114458262920,0.004156663548201,-0.008487311191857,-0.093990884721279,-0.068913467228413,0.071400471031666,-0.069642961025238) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.258627057075500,-0.072194047272205,0.139060050249100,-0.161044672131538,0.174151241779327,0.015946276485920,0.006075577810407,-0.109589077532291,-0.023989839479327,0.159247726202011,0.067365139722824,-0.013605393469334,-0.137477025389671,-0.136455938220024,0.054525230079889,0.005994593258947) * MODEL12_texOff(vec2(1,0));
res += mat4(0.088284745812416,0.209560945630074,0.125554457306862,0.111503131687641,-0.013313315808773,0.025044178590178,0.040770556777716,-0.028129125013947,0.076928153634071,-0.044877719134092,-0.033466514199972,0.005305400118232,0.011319315992296,0.008197158575058,0.082693576812744,-0.059320423752069) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.112575195729733,-0.060107246041298,0.616264522075653,0.073234796524048) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL2
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 5_2

vec4 hook()
{
vec4 res = vec4(0.178316608071327,0.058146461844444,0.028555775061250,0.068015195429325);
res += mat4(0.113395631313324,0.060207251459360,0.235395103693008,0.114931061863899,0.048055749386549,-0.093823485076427,0.056131456047297,-0.029975662007928,-0.087398983538151,0.102411076426506,0.147644415497780,0.090711869299412,-0.053323943167925,-0.104474298655987,-0.246427416801453,0.077043600380421) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.077741578221321,0.101148292422295,-0.112915374338627,-0.083863981068134,0.244604915380478,-0.058071784675121,-0.204012110829353,0.106540843844414,-0.077715978026390,0.080954395234585,-0.235045194625854,0.335000634193420,-0.096700072288513,0.045647159218788,-0.095414966344833,0.141339734196663) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.068231023848057,0.017935348674655,-0.007417339365929,-0.061830170452595,0.044611442834139,0.111549004912376,-0.172878623008728,0.113714925944805,-0.116206109523773,0.130712181329727,-0.088872373104095,-0.077857680618763,-0.032315999269485,0.119575373828411,-0.019751867279410,0.030408587306738) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.026209291070700,0.093772515654564,-0.046075910329819,0.083230756223202,0.083191178739071,-0.099828496575356,0.041587751358747,0.282723575830460,-0.093129225075245,-0.079484462738037,-0.008742701262236,-0.159632280468941,0.056010164320469,-0.223827615380287,0.240377366542816,-0.200706928968430) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.084459818899632,0.058173745870590,0.114914759993553,-0.084798395633698,0.442911177873611,-0.101117685437202,0.050270158797503,-0.024656560271978,-0.006097530946136,-0.135992035269737,0.135870099067688,-0.258253008127213,-0.035498242825270,-0.070981889963150,-0.074688680469990,-0.039410106837749) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.188889339566231,0.117192715406418,0.093729250133038,-0.167875826358795,-0.057916149497032,-0.141877993941307,-0.156991899013519,-0.167348727583885,-0.212205946445465,0.047792792320251,0.007976342923939,-0.062594927847385,-0.069328948855400,0.019316662102938,0.059725709259510,0.092449322342873) * MODEL7_texOff(vec2(0,1));
res += mat4(0.010092237964272,0.075474351644516,0.039584543555975,0.032967392355204,-0.145283475518227,-0.032056342810392,-0.164567515254021,-0.004425728227943,0.029635580256581,0.026825753971934,0.020422421395779,0.030530879274011,0.082561582326889,-0.075430274009705,0.020130915567279,0.127279341220856) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.059622868895531,0.142978355288506,0.110847905278206,-0.025172151625156,-0.057083357125521,-0.088106021285057,0.097278416156769,-0.133380055427551,0.106766931712627,0.017721658572555,-0.099212482571602,-0.044549547135830,-0.077138833701611,0.139358237385750,0.050785560160875,-0.042976707220078) * MODEL7_texOff(vec2(1,0));
res += mat4(0.037612315267324,0.020145505666733,0.000041591480112,-0.084168903529644,-0.172139748930931,0.014205389656126,0.034768432378769,-0.186160236597061,-0.037764810025692,0.013939353637397,-0.092427104711533,-0.159615010023117,0.011753009632230,0.069286338984966,0.006641811691225,0.021641118451953) * MODEL7_texOff(vec2(1,1));
res += mat4(0.022192828357220,-0.034804090857506,-0.120371632277966,-0.236861661076546,-0.063510142266750,0.008778893388808,-0.097771279513836,-0.012284805998206,-0.072171747684479,0.028353551402688,0.192554593086243,0.126957222819328,0.097118921577930,0.009981254115701,-0.113101698458195,0.075424924492836) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.030760135501623,-0.058705233037472,0.017067046836019,-0.037535879760981,0.076285116374493,-0.106100559234619,-0.135461494326591,0.065477721393108,-0.067186526954174,0.000177510170033,0.034976862370968,-0.005510446149856,-0.041642624884844,0.147553861141205,-0.135649845004082,0.043313242495060) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.134477570652962,0.044816900044680,-0.026931680738926,0.172103166580200,-0.123570144176483,-0.189012765884399,-0.102527305483818,-0.209125488996506,0.102967746555805,-0.027204703539610,0.074548713862896,0.075991593301296,0.034479018300772,-0.017626794055104,-0.189188003540039,0.137681245803833) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.294042676687241,0.184189751744270,-0.080001786351204,-0.095907047390938,-0.029588224366307,0.009277744218707,-0.079023972153664,-0.162511661648750,-0.041695360094309,-0.000410329579609,0.006113550160080,-0.087270520627499,0.106498070061207,-0.069241695106030,0.159611374139786,0.075710967183113) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.216710060834885,-0.044988784939051,-0.102129004895687,-0.116107292473316,-0.080784149467945,0.089497014880180,-0.191534072160721,-0.068571202456951,-0.100793294608593,0.177401676774025,0.052262935787439,0.094042874872684,-0.091636374592781,0.237337827682495,0.008758382871747,-0.163146004080772) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.071795232594013,-0.019674908369780,-0.239915117621422,-0.092530533671379,0.018994918093085,-0.033772848546505,-0.128625288605690,0.181357979774475,0.061315748840570,-0.087614968419075,0.025319848209620,0.136535212397575,0.034506302326918,-0.282334417104721,0.053687524050474,-0.052148308604956) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.023363521322608,-0.039436388760805,0.079581230878830,-0.025257835164666,-0.025551278144121,-0.006000322289765,0.045295428484678,0.164395466446877,0.153028607368469,0.188461676239967,-0.081583015620708,-0.060622986406088,0.118313215672970,-0.063713960349560,-0.099077522754669,0.037929434329271) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.018898097798228,-0.054381024092436,0.031626563519239,-0.130887672305107,0.053119845688343,0.081917278468609,0.253022342920303,0.166164934635162,0.021446527913213,0.048693906515837,-0.039297651499510,-0.161795049905777,-0.221008911728859,-0.257670491933823,-0.067444980144501,0.228750810027122) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.160375699400902,-0.067750178277493,0.091462358832359,-0.167207658290863,-0.153799802064896,0.030039565637708,0.084194846451283,0.002756677567959,0.163190081715584,-0.021632419899106,-0.098262928426266,0.051315736025572,-0.066181212663651,-0.106576435267925,0.062612891197205,0.051349580287933) * MODEL8_texOff(vec2(1,1));
res += mat4(0.004457736853510,0.105022244155407,0.072420738637447,0.002110102912411,-0.045146118849516,0.054563678801060,0.053341943770647,-0.015108782798052,-0.164858147501945,-0.066321529448032,-0.105382435023785,-0.013335660099983,0.001745767891407,0.010342403315008,0.002047645859420,-0.133848533034325) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.092712678015232,0.124523080885410,-0.041937585920095,0.226687416434288,-0.021439978852868,0.096130274236202,0.089332483708858,0.044718474149704,-0.024710969999433,0.020919650793076,0.131547749042511,-0.080488078296185,0.000778639456257,0.095088876783848,-0.089257806539536,-0.073908507823944) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.134959638118744,0.074273794889450,-0.097969472408295,-0.018600195646286,-0.079585053026676,-0.052159816026688,-0.023203380405903,0.118122681975365,0.174531877040863,-0.019810125231743,0.002028084592894,0.047927927225828,-0.037303637713194,0.107665166258812,-0.155692175030708,0.337521582841873) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.003144644200802,0.060731355100870,-0.127513647079468,-0.405325770378113,0.112029105424881,0.146856948733330,-0.008081408217549,-0.002085917629302,-0.044578351080418,0.052718859165907,-0.054279513657093,-0.156967982649803,0.025937642902136,0.095990136265755,-0.101422384381294,-0.010148257948458) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.176350712776184,-0.207125782966614,0.050201945006847,0.093499198555946,-0.084728799760342,0.054728191345930,0.088595047593117,0.034507140517235,0.313982307910919,0.206047877669334,-0.015129654668272,0.032133005559444,-0.120564647018909,-0.283017933368683,0.134054422378540,-0.061391986906528) * MODEL9_texOff(vec2(0,0));
res += mat4(0.029090838506818,0.094187438488007,0.094785004854202,0.112195163965225,-0.120875470340252,-0.123705372214317,-0.197565436363220,-0.061609007418156,-0.087766095995903,-0.024147083982825,0.081970915198326,-0.033594116568565,-0.068565234541893,0.007736660074443,0.311271876096725,-0.263395547866821) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.257184624671936,0.193549484014511,0.129155009984970,0.012307111173868,0.014422944746912,0.089005708694458,-0.036768797785044,0.018767990171909,0.022213116288185,-0.051894992589951,-0.048018146306276,-0.064373105764389,-0.049758438020945,-0.064721822738647,0.059579282999039,0.036211092025042) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.223609521985054,0.051801405847073,-0.014765064232051,-0.288727909326553,-0.172473892569542,-0.029239298775792,-0.036975950002670,-0.098035335540771,-0.199358299374580,0.043993141502142,-0.024689070880413,-0.049708809703588,-0.131393030285835,-0.169852778315544,-0.033791519701481,-0.016201183199883) * MODEL9_texOff(vec2(1,0));
res += mat4(0.089453727006912,-0.006362895946950,-0.063100412487984,-0.151348814368248,-0.094632163643837,-0.005229916423559,0.091745287179947,-0.058364130556583,0.092111863195896,-0.101303823292255,-0.066820159554482,0.177261993288994,-0.191689565777779,-0.002731753047556,-0.085897497832775,0.138646036386490) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.012444412335753,-0.067869640886784,-0.128489404916763,-0.056269358843565,-0.039290431886911,-0.102501191198826,-0.117499634623528,-0.181051209568977,-0.055358186364174,0.030464768409729,0.010624286718667,0.014823952689767,-0.102391362190247,-0.016971584409475,-0.093870416283607,-0.052670616656542) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.190369829535484,-0.005160941742361,-0.078691363334656,-0.259009927511215,0.174360543489456,-0.057750605046749,0.007859202101827,-0.339303076267242,0.051510542631149,0.018712731078267,0.058202411979437,-0.152488857507706,-0.070564098656178,-0.103164590895176,0.132204264402390,-0.009371208027005) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.368470460176468,-0.043227616697550,0.118490956723690,-0.044384032487869,-0.097301408648491,-0.062185369431973,0.086786605417728,-0.081503063440323,0.103274136781693,-0.021302765235305,0.163579210639000,-0.197818845510483,-0.242701888084412,-0.126949146389961,-0.110456362366676,0.029503664001822) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.192422971129417,-0.124254725873470,0.050311878323555,0.156563878059387,0.050918910652399,0.033045642077923,-0.040202468633652,0.075580991804600,-0.017573691904545,-0.102892130613327,0.008177313953638,-0.013323043473065,0.151461496949196,-0.067574374377728,0.140457794070244,-0.035787623375654) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.067663125693798,0.052613548934460,0.045705731958151,0.202461495995522,0.097843818366528,0.183476701378822,-0.122749716043472,-0.409880846738815,-0.078146621584892,0.030509671196342,-0.103158108890057,0.000020524410502,0.339402437210083,-0.018380530178547,0.089975424110889,-0.093870356678963) * MODEL10_texOff(vec2(0,0));
res += mat4(0.107497826218605,-0.307260364294052,-0.090623326599598,0.074137791991234,0.216591283679008,0.002696595620364,0.075629055500031,-0.108643338084221,-0.187990039587021,0.051862131804228,-0.105608828365803,-0.004938946105540,0.004412003792822,0.089292205870152,0.066632911562920,-0.083989925682545) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.058976981788874,0.050738077610731,0.036420315504074,-0.174268588423729,-0.225096195936203,-0.013269209302962,0.042918957769871,-0.020834038034081,-0.076761819422245,-0.106699481606483,0.169285744428635,0.035338714718819,0.049116395413876,0.104270242154598,-0.032269105315208,-0.052054122090340) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.067997559905052,-0.195174440741539,-0.021863142028451,0.013508150354028,0.213754609227180,-0.069116286933422,-0.152523607015610,0.350617170333862,-0.100378803908825,0.114782847464085,0.218507006764412,-0.209094315767288,0.047567538917065,-0.101405322551727,-0.096945032477379,-0.012704469263554) * MODEL10_texOff(vec2(1,0));
res += mat4(0.038006942719221,-0.126206144690514,0.122741430997849,-0.064053192734718,0.070193774998188,0.069053284823895,0.039546780288219,0.050118822604418,-0.210468769073486,0.113856695592403,0.115309171378613,-0.162433966994286,0.038213908672333,-0.062834538519382,-0.064891122281551,0.182829871773720) * MODEL10_texOff(vec2(1,1));
res += mat4(0.088617242872715,-0.055076461285353,0.159440577030182,0.145117446780205,0.012769206427038,-0.047855935990810,0.058570589870214,0.067960023880005,0.114892996847630,-0.025553895160556,0.037602577358484,0.234983175992966,-0.092123553156853,0.107154123485088,-0.267793357372284,0.072430185973644) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.007416118402034,0.043666359037161,0.070931360125542,0.103387109935284,0.107382155954838,0.043824058026075,-0.055665656924248,0.159838005900383,0.051562801003456,0.092222101986408,-0.017514556646347,-0.153527244925499,0.068902686238289,0.114743679761887,-0.244996160268784,0.131539300084114) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.203032791614532,0.025052292272449,-0.220969364047050,0.148505523800850,0.001819970668294,0.076127760112286,-0.048134177923203,-0.042313102632761,0.022564498707652,-0.099162228405476,0.077600695192814,-0.189455687999725,-0.069684021174908,-0.088098198175430,0.061162345111370,-0.048916030675173) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.025857085362077,0.140204668045044,-0.105106405913830,-0.067973539233208,-0.098974898457527,0.191270381212234,-0.065231449902058,-0.101867668330669,0.175403460860252,-0.200984969735146,0.073676832020283,0.276657730340958,0.207675486803055,0.004894440528005,0.079139858484268,-0.135275661945343) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.171417936682701,0.100685998797417,-0.219358861446381,-0.101593106985092,-0.048814896494150,-0.396662294864655,-0.315987110137939,-0.036602944135666,-0.075856126844883,0.093330658972263,0.043994490057230,-0.118132613599300,-0.242795079946518,0.038164351135492,-0.039345834404230,-0.203538864850998) * MODEL11_texOff(vec2(0,0));
res += mat4(0.066162422299385,-0.089498437941074,-0.115736179053783,-0.187526524066925,-0.158800452947617,-0.030595645308495,0.033885829150677,0.213588461279869,-0.067964263260365,-0.104300528764725,0.002114722039551,-0.269187599420547,0.021064741536975,-0.099945008754730,-0.032413389533758,0.029889719560742) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.111819364130497,0.078424505889416,-0.092628449201584,-0.045684266835451,0.000416845112341,-0.068286180496216,0.065256349742413,0.032064877450466,0.220126032829285,-0.044061120599508,-0.049641638994217,0.021444700658321,-0.078505948185921,-0.033090174198151,-0.004069099668413,-0.130921155214310) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.198744639754295,-0.045526761561632,0.061275921761990,-0.011302244849503,-0.246473699808121,0.169520646333694,0.290778577327728,-0.469011962413788,0.065899498760700,-0.044642012566328,-0.180010840296745,0.042751319706440,-0.068844698369503,-0.156209990382195,-0.001479231985286,-0.028971439227462) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.014180323109031,-0.056348755955696,-0.065540358424187,-0.075201101601124,-0.082119867205620,-0.068838141858578,0.168302848935127,-0.184552252292633,0.086869738996029,0.062668085098267,0.008369692601264,0.119666881859303,0.059768415987492,-0.029160564765334,-0.015141294337809,-0.004702912177891) * MODEL11_texOff(vec2(1,1));
res += mat4(0.006606982555240,-0.020656084641814,0.050620455294847,0.066395856440067,-0.051554739475250,-0.023019829764962,-0.044877234846354,-0.118781782686710,0.098102241754532,-0.045111369341612,0.128647923469543,0.178715854883194,0.073745436966419,0.137899622321129,0.051038220524788,-0.065566010773182) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.117695808410645,-0.146721750497818,0.154097363352776,-0.050717823207378,0.056132420897484,0.047456931322813,0.072113357484341,-0.396158933639526,-0.002701814053580,-0.036031331866980,-0.015236798673868,0.035543318837881,-0.122809469699860,0.197030484676361,0.111944958567619,0.151974692940712) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.066566333174706,0.018379546701908,-0.064810551702976,0.014658444561064,-0.064204536378384,-0.020688857883215,-0.013123572804034,-0.004428758751601,0.118037633597851,-0.051738157868385,0.020894881337881,0.003133888123557,0.058177709579468,0.006136390380561,0.126220598816872,0.105825468897820) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.092071987688541,-0.095814757049084,-0.106378540396690,0.277602344751358,-0.128002569079399,0.089302204549313,0.021851796656847,0.193511635065079,0.088910482823849,0.088128745555878,-0.025592677295208,-0.043851524591446,-0.152338773012161,-0.197929501533508,0.022846248000860,0.164539217948914) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.073860727250576,-0.078385531902313,-0.200158968567848,0.222890689969063,-0.179318159818649,-0.009808421134949,-0.166877329349518,0.321754395961761,0.105110041797161,0.099047668278217,0.108293622732162,0.047708339989185,0.021787291392684,0.048510629683733,-0.034160900861025,-0.021451750770211) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.027006307616830,-0.012864504940808,-0.163041874766350,0.068050868809223,0.039943303912878,-0.025606725364923,-0.112521462142467,0.016829678788781,0.212021261453629,-0.046137899160385,0.103626407682896,-0.082694791257381,-0.085250310599804,0.014584691263735,0.034519832581282,0.027221750468016) * MODEL12_texOff(vec2(0,1));
res += mat4(0.031208567321301,-0.079974412918091,-0.070770405232906,-0.161646381020546,0.045340571552515,-0.131011471152306,-0.160606727004051,0.081307694315910,-0.054613966494799,0.006205265410244,-0.034059759229422,-0.109972216188908,0.048096649348736,0.097377985715866,0.029105007648468,0.079557597637177) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.114268243312836,-0.058117453008890,-0.092257700860500,0.014296329580247,-0.033060561865568,-0.028559969738126,-0.373390585184097,0.004189282655716,0.137541547417641,0.050873838365078,-0.043263994157314,0.090361848473549,-0.044978752732277,0.181104540824890,0.265627712011337,0.017210731282830) * MODEL12_texOff(vec2(1,0));
res += mat4(0.107276566326618,0.062317147850990,-0.015877388417721,0.028069663792849,-0.080113448202610,-0.108379587531090,-0.036867190152407,-0.086123548448086,0.097056403756142,0.096305444836617,0.077809527516365,0.064811639487743,-0.268859565258026,0.171994522213936,0.102971032261848,-0.175653785467148) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.282959550619125,0.685962796211243,-0.131991952657700,-0.139904811978340) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL3
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 5_3

vec4 hook()
{
vec4 res = vec4(0.090000778436661,0.066573798656464,-0.146843135356903,0.128883913159370);
res += mat4(-0.073254518210888,0.132763773202896,-0.101809300482273,0.041250564157963,-0.072526656091213,-0.164243936538696,0.214702308177948,-0.149481654167175,0.029858175665140,-0.275801450014114,0.081875175237656,0.005310917273164,0.202716246247292,0.185487926006317,-0.025145402178168,-0.016184370964766) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.009416699409485,0.051490321755409,0.074465699493885,-0.017005629837513,0.078764460980892,-0.020565666258335,0.139838099479675,-0.022168399766088,0.121898867189884,0.265283942222595,-0.078458860516548,-0.071051128208637,0.040933806449175,0.172225728631020,-0.000786350108683,-0.194674804806709) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.254635632038116,-0.139582812786102,-0.015124596655369,-0.212349578738213,-0.126310378313065,0.112059414386749,0.032516390085220,-0.127750769257545,-0.316024124622345,0.186620458960533,0.095871329307556,0.059192597866058,-0.258627682924271,-0.041456539183855,-0.009176637977362,0.033236693590879) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.019721522927284,0.098107323050499,-0.118794739246368,-0.083946965634823,-0.030227879062295,-0.005570204928517,0.182179719209671,-0.027318364009261,-0.129566237330437,0.133508726954460,-0.169216454029083,0.043251343071461,0.030656615272164,0.121331624686718,0.030217323452234,0.208472713828087) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.028304906561971,0.089432917535305,0.163300916552544,-0.120247796177864,0.069589234888554,-0.146377265453339,0.021726312115788,-0.011720629408956,-0.085361190140247,-0.224927812814713,0.028813630342484,0.156400039792061,0.117699392139912,0.024138147011399,0.038733437657356,-0.216032505035400) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.076778665184975,-0.113624267280102,0.153279751539230,-0.218587562441826,-0.115762740373611,-0.226730063557625,0.074713960289955,-0.053184509277344,0.116100020706654,-0.242585778236389,-0.083882234990597,-0.034143533557653,-0.095338411629200,-0.131243020296097,-0.106347680091858,0.060296714305878) * MODEL7_texOff(vec2(0,1));
res += mat4(0.039872847497463,0.255158662796021,0.047425523400307,0.002479658694938,-0.168641075491905,-0.021135959774256,0.077668927609921,-0.044586662203074,0.000200027570827,-0.054192222654819,-0.002421641256660,0.021072749048471,-0.080258749425411,0.013036524876952,-0.129935100674629,0.027918387204409) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.028104677796364,0.122562788426876,0.039587754756212,-0.157393753528595,0.050845555961132,-0.067343428730965,-0.042079858481884,0.060410525649786,-0.071203634142876,-0.086081020534039,-0.252365857362747,-0.030846705660224,0.091577410697937,-0.143629267811775,-0.011664395220578,0.108395963907242) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.004932924173772,0.098465643823147,0.051371727138758,-0.136361762881279,-0.021942354738712,-0.115711510181427,0.002028352348134,0.023254517465830,-0.092605002224445,0.164237216114998,-0.074474155902863,-0.067187853157520,0.001483442960307,0.115818560123444,0.070689573884010,0.123697064816952) * MODEL7_texOff(vec2(1,1));
res += mat4(0.060337245464325,-0.300938785076141,-0.150686711072922,0.037759922444820,0.055643383413553,-0.183870658278465,-0.014019241556525,-0.217982262372971,-0.040979128330946,0.069837488234043,-0.096222251653671,-0.046975225210190,0.046512227505445,-0.170518994331360,-0.036976866424084,0.032900482416153) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.126320689916611,-0.223948284983635,0.008244763128459,-0.161912336945534,0.165011063218117,0.128878489136696,-0.137726798653603,0.002614315366372,0.103293180465698,0.093948587775230,0.074557505548000,0.171760126948357,0.058648578822613,-0.152403891086578,0.093174830079079,0.028126750141382) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.095141164958477,-0.193023651838303,-0.061222836375237,0.043905239552259,-0.136759430170059,0.068652369081974,0.070942386984825,0.128012433648109,0.053200382739305,0.046515949070454,0.103743351995945,-0.024674093350768,0.072059854865074,0.056232128292322,-0.087204620242119,-0.175042092800140) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.134652644395828,-0.247963085770607,-0.122890278697014,-0.043274495750666,-0.227721750736237,0.235961362719536,0.100025281310081,-0.209827795624733,-0.003243546234444,0.041394241154194,-0.187153294682503,-0.111900582909584,0.084962047636509,-0.052210424095392,0.084497541189194,0.097679488360882) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.183448925614357,-0.205172479152679,-0.088650286197662,0.036305714398623,-0.025569068267941,0.179519668221474,-0.092462912201881,0.157607108354568,0.176604956388474,-0.128478229045868,-0.018437471240759,-0.101603537797928,0.087789356708527,-0.018374469131231,-0.100027658045292,-0.074840568006039) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.192335158586502,-0.176092311739922,-0.077654793858528,-0.172923430800438,0.100257165730000,0.097073853015900,-0.077327132225037,0.274174243211746,0.294700950384140,0.016105227172375,0.097909703850746,0.025678943842649,-0.172904089093208,0.298536837100983,-0.027236524969339,0.185540139675140) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.024366741999984,-0.014342479407787,0.024175357073545,-0.057515278458595,0.241239339113235,-0.113617487251759,0.048880174756050,-0.018340570852160,-0.070903420448303,-0.006106715649366,-0.022653646767139,0.002923248801380,0.003599650459364,-0.078379519283772,-0.030449800193310,-0.006872414145619) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.224476993083954,-0.114130213856697,0.177701115608215,-0.154476299881935,0.138380840420723,-0.198144510388374,-0.027810843661427,0.169153511524200,-0.066845752298832,0.005595757160336,0.104465812444687,0.020067404955626,0.074839524924755,-0.200523167848587,0.127605289220810,-0.012448185123503) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.108018763363361,-0.064244173467159,0.115958653390408,-0.368062257766724,0.060085274279118,-0.101899325847626,0.070297308266163,-0.056838080286980,0.075085565447807,0.024188566952944,-0.057579081505537,0.049009393900633,0.085222482681274,-0.149431049823761,-0.119527742266655,0.015967169776559) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.053495820611715,-0.365848034620285,0.039159763604403,0.020437238737941,0.053574722260237,-0.001521609490737,0.079216234385967,0.144279420375824,-0.097874119877815,-0.045229647308588,-0.023846462368965,0.088183119893074,-0.122895345091820,0.067046746611595,-0.198389053344727,-0.073976784944534) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.048611264675856,0.091952912509441,0.123984888195992,-0.010154437273741,-0.109521456062794,-0.012170045636594,-0.003377190092579,-0.252122968435287,0.098499074578285,-0.082371503114700,0.052204564213753,-0.071728624403477,-0.214976325631142,-0.142252370715141,-0.022249544039369,0.190588071942329) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.217385530471802,0.240002453327179,-0.123417787253857,-0.009649614803493,-0.131284236907959,-0.206286594271660,0.028442321345210,-0.273810654878616,0.011980092152953,0.146477535367012,0.155583575367928,-0.011034197174013,0.071769073605537,-0.108466155827045,0.013363420031965,-0.168329596519470) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.100894331932068,0.083796024322510,-0.218934267759323,-0.085472531616688,0.083893656730652,0.079418323934078,-0.145591825246811,-0.034881740808487,-0.117459401488304,-0.175806045532227,-0.202618151903152,-0.016244592145085,0.121114559471607,-0.077012114226818,-0.226091444492340,-0.150240838527679) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.028648374602199,0.006232907064259,-0.013414040207863,-0.134727358818054,0.254756689071655,0.199958160519600,0.021336462348700,-0.240006282925606,0.078387767076492,-0.077860407531261,-0.151132836937904,-0.055905859917402,0.185351386666298,-0.130189299583435,0.061133395880461,0.104612007737160) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.028214510530233,0.003175635822117,-0.124650798738003,0.026593228802085,-0.168607980012894,0.100848421454430,-0.043373454362154,0.346132546663284,0.160299867391586,0.067982897162437,-0.193671956658363,0.003521846607327,0.019583275541663,-0.129613667726517,-0.112780407071114,-0.460406720638275) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.148222506046295,-0.162810906767845,0.053747583180666,0.012672524899244,-0.093975201249123,-0.041713722050190,0.077235586941242,-0.067506432533264,0.065194934606552,-0.152052417397499,-0.015818903222680,-0.087900452315807,-0.031171411275864,0.104767620563507,0.053195279091597,0.026023127138615) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.147281736135483,0.004562155809253,0.153893500566483,0.024556288495660,0.038632377982140,0.027598658576608,-0.009577023796737,-0.070285134017467,-0.011895521543920,0.016051713377237,-0.049672249704599,0.007646276615560,-0.129508748650551,0.129239082336426,-0.043698877096176,0.028006851673126) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.281106233596802,0.034724459052086,0.041756499558687,-0.033330708742142,-0.062008462846279,-0.055860370397568,-0.115258648991585,0.347620218992233,0.139692276716232,0.194234192371368,-0.113435544073582,0.082387015223503,-0.090978488326073,0.071364276111126,-0.074702367186546,-0.007292480673641) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.090319350361824,0.295183867216110,0.082420445978642,-0.094905167818069,-0.088842585682869,-0.108032554388046,-0.194470658898354,-0.073854163289070,-0.254780739545822,0.119988627731800,-0.122332610189915,-0.051250532269478,-0.108466051518917,0.058250710368156,-0.107307232916355,-0.052842427045107) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.123043574392796,0.133180528879166,0.132584318518639,0.161404833197594,0.066327065229416,-0.226097673177719,0.139251008629799,0.085577912628651,-0.213113412261009,0.014323228970170,-0.043760973960161,0.146767720580101,-0.003202226245776,-0.078924596309662,-0.113170273602009,0.172578006982803) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.110733464360237,-0.014105361886322,0.023091042414308,0.071340285241604,0.120157487690449,-0.132442653179169,0.000991845736280,0.076756559312344,-0.275428831577301,-0.436252206563950,0.169619888067245,-0.091882176697254,-0.061034753918648,-0.162889242172241,0.064958915114403,-0.236649692058563) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.003969701472670,-0.437196701765060,0.129473164677620,0.009639214724302,0.043815825134516,-0.538516700267792,0.193964272737503,0.117061197757721,-0.015613494440913,-0.006103560794145,-0.053067408502102,0.102997139096260,0.117986448109150,-0.083589218556881,-0.005901440046728,0.182819798588753) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.159618660807610,-0.260724425315857,0.062490325421095,-0.319889724254608,-0.372179478406906,-0.470216572284698,0.068861655890942,-0.021575206890702,0.004097295459360,0.029925851151347,0.139671310782433,-0.016134038567543,0.040525473654270,0.009448776021600,0.009093474596739,-0.021906688809395) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.017871310934424,-0.141727104783058,-0.017641788348556,-0.204370617866516,-0.123900264501572,0.089611954987049,0.043768797069788,-0.027505578473210,-0.013948169536889,0.034991133958101,-0.029119102284312,0.033320788294077,-0.008643520064652,-0.136711671948433,-0.032008305191994,-0.042223285883665) * MODEL10_texOff(vec2(0,1));
res += mat4(0.016225488856435,0.347611367702484,-0.012982618995011,0.069201476871967,-0.129556998610497,0.074103929102421,-0.101451508700848,0.141788333654404,-0.135355308651924,0.100746475160122,0.218735083937645,0.082667790353298,0.067317470908165,0.114452555775642,-0.233569025993347,-0.020595977082849) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.059696462005377,0.141595304012299,-0.060160137712955,-0.275013804435730,0.193735137581825,0.189719602465630,0.059032216668129,-0.233698427677155,-0.141772314906120,-0.167743340134621,-0.047785229980946,-0.092624753713608,0.013503503985703,0.123197034001350,-0.198240101337433,-0.137319818139076) * MODEL10_texOff(vec2(1,0));
res += mat4(0.021881338208914,-0.132395073771477,0.010848502628505,-0.099410220980644,-0.082152925431728,-0.133019492030144,0.036329258233309,-0.138758003711700,-0.120500184595585,-0.010105249471962,0.171677336096764,-0.129675120115280,0.057546902447939,0.055093854665756,-0.022848807275295,-0.108204036951065) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.191776975989342,-0.115065433084965,0.127962350845337,0.118909791111946,0.019415328279138,-0.178718805313110,0.082786954939365,0.006265582982451,0.192845091223717,0.037020023912191,0.030042359605432,0.090363726019859,-0.163294196128845,-0.174999430775642,-0.049904406070709,-0.090868569910526) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.118351913988590,-0.016062175855041,0.124097391963005,-0.068451300263405,-0.100891314446926,-0.032180279493332,0.001660116598941,0.026237925514579,-0.022155212238431,-0.167143091559410,0.093448624014854,0.015183672308922,-0.228564694523811,-0.125037699937820,-0.089184977114201,-0.071637436747551) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.018190208822489,0.128582552075386,0.089566402137280,-0.091309688985348,-0.185691088438034,0.000761131872423,-0.071185812354088,0.025913842022419,-0.212929368019104,-0.072991400957108,-0.020320225507021,-0.025481384247541,-0.123098075389862,0.028732212260365,0.086477078497410,-0.328366696834564) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.035045366734266,0.313680380582809,-0.073068551719189,0.054363410919905,-0.133097499608994,0.174590095877647,0.055174954235554,-0.036661788821220,0.158402651548386,0.032192397862673,-0.008986931294203,0.175779446959496,-0.179997339844704,-0.056296668946743,-0.059803143143654,0.039632070809603) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.064651131629944,0.060305893421173,-0.059734601527452,0.006798760499805,-0.155803173780441,0.058879874646664,-0.015434931963682,0.016909927129745,-0.372424215078354,-0.234659105539322,0.081953339278698,-0.119427159428596,-0.165182664990425,-0.368732213973999,0.130752891302109,0.057571377605200) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.211838722229004,-0.190686941146851,0.008539720438421,-0.061869010329247,0.114282339811325,0.007196513004601,-0.203711017966270,0.012492309324443,-0.308837622404099,-0.002390433102846,0.096770770847797,-0.121147289872169,-0.002431639470160,0.052236735820770,0.072241559624672,-0.211107075214386) * MODEL11_texOff(vec2(0,1));
res += mat4(0.097849674522877,-0.098524399101734,-0.016043078154325,-0.001634240848944,0.167510420084000,-0.171648755669594,0.209080681204796,-0.034580435603857,-0.066596128046513,0.079364128410816,-0.055232405662537,-0.093912161886692,-0.036356192082167,0.164335355162621,0.001380336470902,-0.018345870077610) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.049157973378897,-0.021444456651807,-0.087721042335033,-0.071130916476250,-0.074860282242298,-0.360153287649155,0.168397575616837,0.103840708732605,0.030572723597288,0.201377004384995,-0.129756122827530,-0.043544266372919,0.063120312988758,0.013977080583572,0.039886441081762,-0.045443844050169) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.013854553923011,0.020353235304356,-0.013219255954027,0.032183345407248,0.091788887977600,-0.018011694774032,-0.059819161891937,-0.173368901014328,0.242532178759575,-0.064962916076183,-0.081468708813190,0.054893806576729,0.075772427022457,-0.081613980233669,-0.029970683157444,-0.001658912166022) * MODEL11_texOff(vec2(1,1));
res += mat4(0.114214777946472,0.052088644355536,-0.066157855093479,0.061822537332773,-0.052941121160984,0.087723478674889,-0.192571833729744,-0.126104101538658,0.170623287558556,-0.004732798319310,0.097986645996571,0.008677804842591,-0.082320511341095,0.080252952873707,-0.026172041893005,0.081699721515179) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.009225117973983,0.049108635634184,0.094814576208591,-0.069860309362411,-0.396439403295517,-0.323230803012848,0.121998220682144,0.115124307572842,0.252938926219940,0.150081023573875,0.046338621526957,0.051934801042080,0.052151679992676,0.054251268506050,0.043520551174879,-0.096525661647320) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.121140398085117,-0.101440526545048,0.081767000257969,-0.152702629566193,-0.082558102905750,-0.398233115673065,-0.020815042778850,-0.120931975543499,0.096490018069744,0.167226955294609,-0.055042248219252,0.162020221352577,0.218630969524384,-0.007153699174523,-0.146145552396774,-0.208342030644417) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.121203094720840,0.030027484521270,0.082425914704800,0.051607679575682,0.060669336467981,0.142495989799500,0.086926214396954,0.036236237734556,0.110131077468395,-0.231450423598289,-0.103812970221043,0.031700544059277,-0.149772956967354,0.025192087516189,-0.073480382561684,0.120671644806862) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.022349277511239,0.161057263612747,-0.035601392388344,-0.108676292002201,-0.107100971043110,-0.025106899440289,0.174071550369263,0.197492480278015,0.084619224071503,0.070893965661526,0.220351129770279,0.003619065508246,0.022064823657274,0.072631575167179,0.144244372844696,0.033448949456215) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.126840546727180,-0.059369094669819,0.005904807709157,-0.158232495188713,-0.237346172332764,-0.054503165185452,0.068759396672249,0.088902905583382,0.049468293786049,0.275984913110733,-0.080016575753689,0.115724444389343,0.115813516080379,0.279189139604568,-0.114623941481113,-0.320449203252792) * MODEL12_texOff(vec2(0,1));
res += mat4(0.119250230491161,0.021583311259747,-0.012964498251677,0.014520553871989,-0.102865360677242,0.096657544374466,-0.236648201942444,-0.111478753387928,0.025727119296789,-0.076784409582615,-0.009329300373793,0.062613703310490,0.132410168647766,-0.037650752812624,-0.059901479631662,0.095643199980259) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.136400848627090,-0.172564357519150,-0.004877519793808,-0.144448712468147,-0.014217349700630,0.065545789897442,0.074419878423214,0.103339381515980,0.153416618704796,0.087227389216423,-0.207260906696320,0.016601447016001,0.056044310331345,-0.268316507339478,-0.040778957307339,-0.216172918677330) * MODEL12_texOff(vec2(1,0));
res += mat4(0.146668970584869,-0.016212031245232,-0.157318428158760,-0.178740367293358,-0.256212711334229,0.062161363661289,-0.175792962312698,0.090155452489853,0.055432081222534,0.077935665845871,-0.054574821144342,0.033526647835970,0.075658135116100,-0.079052396118641,0.047754172235727,-0.164738506078720) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.074786290526390,0.000992576242425,0.421293109655380,-0.110984697937965) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL4
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 5_4

vec4 hook()
{
vec4 res = vec4(-0.014836217276752,-0.032374393194914,-0.038225840777159,0.041501168161631);
res += mat4(-0.116120077669621,-0.189370512962341,0.049747254699469,0.027004998177290,0.009471618570387,0.127325177192688,0.027450798079371,0.048266608268023,0.107215352356434,-0.199265241622925,0.165926039218903,-0.043690312653780,-0.028690002858639,0.044324662536383,-0.048415627330542,-0.024504460394382) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.007405739743263,-0.076788820326328,0.208460167050362,-0.036207742989063,-0.038448005914688,0.145841822028160,0.101781703531742,0.098170183598995,-0.086431421339512,-0.028115479275584,0.152046144008636,0.016638176515698,-0.026152310892940,0.162447735667229,0.082398369908333,-0.050990194082260) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.293413609266281,0.024009944871068,0.171973392367363,0.105783738195896,0.221107795834541,-0.048087798058987,0.011523040942848,-0.072266511619091,-0.031387191265821,0.083969473838806,-0.017011567950249,-0.119334489107132,0.062437873333693,-0.045489065349102,-0.224350973963737,-0.004996548406780) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.078752741217613,-0.113593287765980,-0.114854976534843,-0.022892890498042,0.092095516622066,0.042511682957411,0.132685780525208,0.002540886634961,-0.039241019636393,-0.001871851971373,-0.166228562593460,0.037766076624393,0.078931212425232,0.154888644814491,-0.113410130143166,0.022418379783630) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.157684013247490,0.004277264233679,-0.006230162456632,-0.056593500077724,-0.104119673371315,0.018494600430131,0.097001284360886,0.086005955934525,-0.005775937810540,0.008208375424147,-0.276196151971817,-0.000959337572567,-0.180850133299828,0.165122196078300,0.200120657682419,0.019527804106474) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.338144809007645,0.015296596102417,-0.216715022921562,0.147649660706520,0.277754753828049,-0.035989187657833,-0.109816297888756,0.089423500001431,-0.051210753619671,0.039055429399014,-0.202692300081253,-0.101329036056995,0.168435350060463,-0.086150228977203,-0.280797630548477,-0.020161757245660) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.158131539821625,0.028585189953446,-0.036381047219038,0.132163003087044,-0.073062293231487,-0.037428442388773,-0.114219173789024,0.141155689954758,0.046005621552467,0.098344497382641,-0.103598728775978,0.123470537364483,0.019299466162920,0.045132514089346,0.112473852932453,0.034012742340565) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.014195655472577,0.041954405605793,0.087980218231678,-0.100666977465153,-0.037308696657419,-0.111712001264095,0.022935157641768,0.101036101579666,-0.063562035560608,0.041237197816372,-0.093966558575630,-0.065998539328575,0.026551943272352,0.068778872489929,0.322675555944443,0.324343562126160) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.303260535001755,0.053135037422180,-0.125026330351830,0.066265843808651,-0.093986436724663,0.043536007404327,-0.172569900751114,0.052120603621006,-0.003100477857515,-0.016528623178601,-0.095248788595200,-0.104068815708160,0.148539304733276,-0.039059367030859,0.076835446059704,-0.092461138963699) * MODEL7_texOff(vec2(1,1));
res += mat4(0.147448644042015,-0.024073744192719,-0.140621095895767,0.098745040595531,-0.024555297568440,-0.440250605344772,0.178338378667831,-0.068354226648808,-0.161927983164787,0.062214866280556,0.075292900204659,0.055075291544199,-0.025269677862525,-0.111784636974335,-0.031795628368855,-0.064918018877506) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.046796120703220,0.030946755781770,-0.006326482165605,0.019385263323784,0.067007958889008,-0.054084051400423,0.147001028060913,0.006760066375136,-0.136526882648468,-0.026851762086153,0.069375194609165,-0.060574684292078,-0.041940364986658,-0.067436471581459,0.062493786215782,0.042194437235594) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.015809802338481,-0.008430507034063,0.171664535999298,-0.008564886637032,-0.201751232147217,-0.020248195156455,0.076828956604004,-0.050694540143013,0.303460717201233,0.007227821275592,-0.093844421207905,-0.073034338653088,0.009425229392946,0.136745586991310,0.084812149405479,-0.028165278956294) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.072448931634426,-0.023469682782888,-0.103897958993912,-0.031247721984982,-0.129352450370789,-0.498931169509888,-0.368936657905579,-0.118598401546478,-0.275542110204697,-0.103033974766731,0.102562494575977,-0.226298630237579,0.109182722866535,-0.167369216680527,-0.081719987094402,0.101155079901218) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.065487228333950,-0.004621909465641,-0.091390408575535,0.002740034833550,0.059335038065910,0.068347007036209,0.023258455097675,0.208049342036247,-0.055073548108339,-0.003312174230814,-0.046162959188223,0.149625763297081,-0.052465669810772,0.058645278215408,-0.079577907919884,0.109795145690441) * MODEL8_texOff(vec2(0,0));
res += mat4(0.173970267176628,-0.008102107793093,-0.167719021439552,0.015568218193948,-0.391743928194046,0.114625528454781,-0.024926947429776,0.004465675912797,0.176819905638695,-0.070182494819164,-0.052005846053362,-0.090938881039619,0.030514642596245,0.092426352202892,-0.038931246846914,-0.075590841472149) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.087664082646370,0.016498979181051,-0.189893648028374,-0.022175185382366,-0.052959106862545,0.040461357682943,-0.141513735055923,0.131615042686462,-0.097696952521801,0.028743907809258,-0.097914583981037,-0.043966490775347,0.051835961639881,0.081220410764217,-0.077125191688538,-0.055538542568684) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.153196513652802,-0.109422832727432,-0.115156233310699,-0.209801957011223,0.200210928916931,-0.147843971848488,-0.084711611270905,-0.126129180192947,0.027006948366761,0.095128946006298,0.066093400120735,-0.103883333504200,-0.038444139063358,0.024104952812195,0.016038229689002,-0.107538528740406) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.059985321015120,0.094029575586319,-0.136872723698616,0.159554019570351,-0.213882878422737,-0.002667802851647,-0.253819137811661,-0.113035760819912,-0.015551753342152,-0.085370942950249,0.027966698631644,0.082937672734261,-0.038447640836239,-0.044952709227800,0.147489354014397,0.135874912142754) * MODEL8_texOff(vec2(1,1));
res += mat4(0.053726904094219,-0.037035647779703,-0.009827251546085,-0.023896524682641,0.172274351119995,0.175152808427811,-0.054464444518089,0.089138559997082,0.058071643114090,0.090064145624638,-0.048519745469093,0.109651423990726,-0.005590212531388,-0.048974797129631,0.244792833924294,-0.198897451162338) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.100761279463768,0.005855408497155,0.030042046681046,0.095703147351742,-0.117583759129047,-0.215159222483635,-0.110008336603642,0.168857380747795,-0.105283491313457,0.026677493005991,-0.082486338913441,0.140080019831657,0.120317183434963,0.306360721588135,-0.285453826189041,0.160952329635620) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.104594215750694,0.045819729566574,0.031784199178219,-0.072873525321484,-0.022576419636607,0.069958008825779,-0.105691194534302,0.094128139317036,0.018774855881929,0.023477096110582,-0.085903897881508,-0.077024616301060,-0.161130815744400,-0.141685500741005,-0.043461564928293,-0.083650089800358) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.155144810676575,-0.233493685722351,-0.132950127124786,0.157107934355736,0.093308903276920,0.144302114844322,0.135394513607025,-0.077892154455185,-0.037410199642181,-0.095128066837788,0.031263854354620,-0.076342411339283,-0.275544226169586,0.008478713221848,0.190324902534485,-0.211846068501472) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.145430937409401,0.223055213689804,-0.268601596355438,-0.012691697105765,-0.025358295068145,0.052085317671299,0.105610102415085,-0.123309269547462,-0.028485748916864,-0.059179931879044,-0.263291388750076,0.310805439949036,0.212657511234283,0.103207774460316,0.139883860945702,0.090162694454193) * MODEL9_texOff(vec2(0,0));
res += mat4(0.068840913474560,-0.018334235996008,-0.227822035551071,-0.040692474693060,0.116329222917557,0.031147737056017,0.046676941215992,0.006441144272685,-0.088798932731152,-0.061431296169758,0.058847781270742,0.064341135323048,-0.308698594570160,-0.163404628634453,0.006093511823565,-0.183972030878067) * MODEL9_texOff(vec2(0,1));
res += mat4(0.080998010933399,-0.191565871238708,0.053240135312080,-0.157686039805412,-0.050065256655216,0.021779177710414,-0.039858318865299,-0.024173650890589,-0.058250404894352,-0.109574757516384,-0.099133238196373,-0.120543487370014,-0.070515856146812,-0.016164544969797,-0.120841667056084,-0.009830187074840) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.032893598079681,-0.076042190194130,-0.036578882485628,0.073974356055260,0.067878626286983,-0.104108490049839,-0.048010073602200,0.076232649385929,0.072291061282158,-0.084615506231785,-0.141739383339882,0.013347753323615,0.072461731731892,0.085403069853783,-0.143864884972572,0.058810513466597) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.335980266332626,0.087094098329544,0.080883331596851,-0.036273900419474,0.031541362404823,0.078004188835621,-0.187107414007187,0.038581758737564,-0.055576834827662,0.067785158753395,0.036133658140898,-0.091267541050911,-0.128390610218048,-0.005463315639645,-0.084107100963593,-0.100338220596313) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.075561895966530,0.039180420339108,0.087126143276691,0.057282965630293,-0.109749183058739,0.168712332844734,0.142536222934723,-0.079571254551411,-0.033440083265305,-0.005742922890931,0.206486806273460,-0.030591642484069,-0.000547357078176,-0.050342321395874,-0.087746292352676,-0.027875214815140) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.059771433472633,-0.025180749595165,-0.076290152966976,-0.055346593260765,0.025088660418987,0.051169358193874,0.025415819138288,-0.018624531105161,0.125789627432823,-0.067012302577496,-0.068368777632713,-0.004626644309610,-0.012669605202973,-0.160588353872299,0.048456486314535,-0.137809336185455) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.071196563541889,-0.011683042161167,0.023952638730407,0.028311939910054,0.148938611149788,0.000734971719794,-0.023109398782253,-0.021096525713801,-0.115305557847023,0.093311257660389,-0.098544903099537,0.210148528218269,-0.059810660779476,0.018187709152699,-0.024369128048420,-0.187287449836731) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.007385435514152,0.267200887203217,-0.034242011606693,-0.081211663782597,-0.082464627921581,-0.181165009737015,0.067060180008411,0.034546736627817,-0.085704490542412,0.059294261038303,-0.206652253866196,-0.035759285092354,0.047078896313906,-0.036636136472225,-0.034391500055790,-0.023604260757565) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.032728508114815,0.090211816132069,-0.009182170964777,0.003818322205916,0.098827935755253,-0.128190472722054,-0.022271273657680,0.108990184962749,0.002117923693731,-0.044755522161722,0.285658955574036,-0.088999323546886,-0.186331316828728,0.068155251443386,-0.005680073052645,-0.143942952156067) * MODEL10_texOff(vec2(0,0));
res += mat4(0.157836943864822,0.165386781096458,0.107116743922234,0.072568766772747,-0.210928663611412,0.104817867279053,0.014759502373636,-0.021569300442934,0.047376830130816,0.056821517646313,-0.194010242819786,0.184781029820442,-0.034656740725040,-0.024761026725173,-0.045219752937555,0.096957542002201) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.030071808025241,-0.152233734726906,0.011865970678627,-0.124888099730015,0.015292012132704,-0.048663619905710,-0.176616534590721,0.006880279630423,0.144818678498268,0.027926797047257,-0.091276302933693,0.056673545390368,0.052071306854486,-0.003433315781876,-0.016972104087472,-0.098269030451775) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.068288229405880,-0.029259109869599,0.041401013731956,-0.000500038091559,0.080642640590668,0.079624339938164,-0.199629157781601,0.069665499031544,-0.019469359889627,0.087225802242756,0.083726197481155,-0.157163903117180,-0.042272794991732,-0.002534270752221,-0.162700206041336,-0.022928822785616) * MODEL10_texOff(vec2(1,0));
res += mat4(0.119635589420795,0.040271107107401,-0.153053984045982,0.199664413928986,-0.076497644186020,0.063100866973400,-0.216990068554878,0.112180158495903,0.083465456962585,0.030784301459789,-0.251037329435349,-0.059906743466854,0.001579378498718,-0.009399857372046,0.002142704324797,-0.016847316175699) * MODEL10_texOff(vec2(1,1));
res += mat4(0.068673305213451,-0.091626197099686,0.067020677030087,0.063730299472809,0.049116671085358,-0.070026725530624,0.057174209505320,-0.007877997122705,0.085783794522285,0.058428939431906,0.030993966385722,0.060455698519945,0.043467763811350,-0.091747507452965,0.134375512599945,-0.000680552679114) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.014578106813133,-0.157961577177048,0.022050641477108,-0.026622498407960,-0.114272721111774,0.007176960818470,0.144134566187859,-0.074642784893513,-0.076931856572628,-0.056746713817120,0.118555307388306,0.093990057706833,-0.112459190189838,0.025133155286312,0.036251910030842,0.181637123227119) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.011350683867931,-0.000634339055978,0.104148723185062,0.007818487472832,0.123272284865379,-0.065496645867825,-0.087654411792755,-0.109161786735058,0.030601872131228,0.022695077583194,-0.012963503599167,0.022344697266817,-0.017221175134182,0.080721676349640,-0.056124836206436,-0.020878439769149) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.015067597851157,-0.331547230482101,-0.004417234100401,0.088932625949383,0.032744344323874,-0.286224991083145,-0.100274041295052,0.058942779898643,0.130049228668213,0.189664930105209,0.014506673440337,0.016999306157231,0.033366184681654,-0.001011972315609,-0.009907266125083,-0.140506148338318) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.140617311000824,-0.193125694990158,-0.061533488333225,0.100250959396362,-0.015503331087530,0.207524240016937,0.069023229181767,-0.165607154369354,-0.031688377261162,-0.235158577561378,-0.010956420563161,-0.005416733212769,-0.241605728864670,0.060666237026453,-0.181550726294518,-0.152122557163239) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.061398562043905,-0.065516933798790,-0.233358129858971,-0.095449894666672,-0.101555660367012,-0.014814411289990,-0.039441201835871,-0.162320405244827,0.110290028154850,0.020476046949625,-0.089747063815594,0.008646201342344,-0.027262702584267,0.015506311319768,-0.094898879528046,-0.050933770835400) * MODEL11_texOff(vec2(0,1));
res += mat4(0.069297276437283,-0.217534467577934,-0.003221928607672,-0.059119358658791,0.006888965610415,-0.030876180157065,0.077561855316162,0.038567081093788,0.060904998332262,-0.061233334243298,-0.065359830856323,0.058841425925493,0.016085026785731,0.035535112023354,0.056540381163359,0.031342167407274) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.102931469678879,-0.067871838808060,0.141350477933884,-0.101452276110649,0.059994455426931,0.002041782019660,-0.067442819476128,-0.200456827878952,-0.144720405340195,0.046995155513287,0.010398029349744,-0.145805031061172,-0.025995627045631,-0.045394204556942,-0.093339510262012,0.134253978729248) * MODEL11_texOff(vec2(1,0));
res += mat4(0.009289671666920,0.052496749907732,0.070117227733135,-0.046958617866039,-0.095718666911125,-0.041654791682959,-0.250017553567886,-0.163776904344559,-0.072541095316410,0.032490234822035,-0.009793553501368,0.112944252789021,0.037030462175608,-0.004555604420602,-0.013112702406943,0.030009234324098) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.031077491119504,0.006340004038066,-0.038671109825373,0.013071263208985,0.043928872793913,0.011548117734492,0.096122592687607,0.009540492668748,0.004226160235703,0.122352369129658,-0.134434625506401,-0.025040013715625,0.065146669745445,-0.297132164239883,0.117323510348797,0.015754776075482) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.006395300384611,0.024391919374466,0.021418811753392,0.011337491683662,0.078170835971832,0.036481540650129,0.050224877893925,0.058111611753702,0.002822509268299,0.208148315548897,0.068441025912762,-0.054337818175554,-0.098826877772808,-0.059172019362450,0.213296994566917,-0.039352446794510) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.016960080713034,0.031442482024431,0.099802158772945,-0.107626199722290,-0.127024978399277,-0.002137411618605,-0.013103901408613,0.129510492086411,0.154852449893951,-0.027660781517625,0.083156973123550,-0.109240829944611,-0.249031782150269,0.062313701957464,0.098689354956150,-0.059372898191214) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.043763797730207,-0.113044843077660,-0.043283540755510,-0.108110234141350,-0.015629194676876,0.143381416797638,-0.018452681601048,0.143983468413353,-0.088944792747498,0.104602143168449,0.068042919039726,0.153826609253883,-0.041721776127815,-0.044516421854496,0.088034160435200,0.064885266125202) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.018241720274091,0.136827781796455,0.022417649626732,-0.224081605672836,0.086275227367878,0.092699699103832,0.143473431468010,-0.321327716112137,-0.068288788199425,0.008468178100884,0.184948146343231,0.051169723272324,0.035494387149811,-0.316870898008347,-0.036493789404631,0.001826030784287) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.124000646173954,0.039254475384951,-0.052419628947973,0.018009854480624,0.112823121249676,-0.034986644983292,-0.043508965522051,0.094031795859337,0.144688203930855,0.046861346811056,0.135908499360085,-0.022396104410291,-0.413446456193924,-0.030225925147533,0.070932157337666,0.123727425932884) * MODEL12_texOff(vec2(0,1));
res += mat4(0.074279189109802,-0.137682721018791,-0.020270673558116,-0.135784253478050,-0.048287920653820,0.088386267423630,-0.175651431083679,0.003207199741155,-0.043991204351187,0.010210450738668,0.054404400289059,-0.168981403112411,0.118752032518387,0.005978572648019,-0.002174744149670,-0.014608356170356) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.015360176563263,0.025608299300075,0.060189537703991,0.050526242703199,-0.008859006687999,-0.049100566655397,-0.042267620563507,0.120901964604855,-0.022390970960259,0.032297778874636,0.118573382496834,0.090451523661613,-0.114977069199085,0.007001680321991,-0.141313761472702,-0.064465425908566) * MODEL12_texOff(vec2(1,0));
res += mat4(0.036383621394634,-0.007931166328490,0.055555876344442,-0.127824351191521,0.132026284933090,-0.058464221656322,-0.033788517117500,0.058480937033892,0.072003766894341,0.009852275252342,0.123735956847668,-0.048720493912697,-0.092640757560730,-0.104651592671871,-0.207655951380730,0.032794017344713) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.128987506031990,-0.231579631567001,0.144457101821899,0.699850916862488) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL5
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 5_5

vec4 hook()
{
vec4 res = vec4(-0.013697952963412,-0.013443163596094,-0.071846082806587,0.055184118449688);
res += mat4(0.065893940627575,0.026293080300093,-0.193792760372162,-0.147865340113640,-0.145792528986931,0.024924350902438,0.008823282085359,-0.096407063305378,0.148566126823425,-0.007626544218510,0.171493858098984,-0.045163962990046,0.016286464408040,0.054123517125845,0.077339455485344,0.016315968707204) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.187998026609421,0.068576253950596,-0.117250449955463,-0.150888979434967,0.065944835543633,-0.109524235129356,0.150754958391190,-0.020396981388330,-0.288254410028458,-0.091307446360588,-0.148983612656593,-0.024953635409474,0.038467552512884,-0.063398592174053,-0.035611901432276,0.064170531928539) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.050900604575872,-0.016160620376468,0.118243582546711,-0.186561286449432,0.012057176791131,-0.038699395954609,-0.029535461217165,-0.118790842592716,0.023950578644872,-0.044921010732651,-0.130445271730423,-0.138200610876083,-0.109768800437450,-0.024570893496275,0.010922202840447,0.024875424802303) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.047635264694691,-0.024714233353734,-0.123823635280132,-0.029707157984376,-0.039550177752972,0.052638772875071,0.010362116619945,-0.014945816248655,-0.076488874852657,0.060181815177202,-0.074960678815842,-0.111991502344608,0.092548348009586,0.095284156501293,0.150918781757355,-0.059564933180809) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.235813438892365,-0.048774175345898,-0.122596465051174,-0.068738259375095,0.193046495318413,-0.091677501797676,0.038432899862528,-0.079871885478497,0.211219787597656,0.002777443034574,-0.058941110968590,-0.040816776454449,0.163677081465721,-0.013646746985614,0.022407125681639,0.160245925188065) * MODEL7_texOff(vec2(0,0));
res += mat4(0.055978644639254,-0.021683156490326,0.207901358604431,-0.140247985720634,0.028803754597902,-0.069138035178185,0.005516209173948,-0.020859880372882,0.019308449700475,-0.019550742581487,0.107619851827621,-0.044862523674965,-0.079477585852146,-0.098266489803791,-0.079828970134258,0.073880933225155) * MODEL7_texOff(vec2(0,1));
res += mat4(0.090021528303623,0.009172818623483,-0.249248430132866,0.091026812791824,-0.196440190076828,0.013064590282738,-0.011079790070653,-0.020186202600598,0.009497716091573,0.002707649255171,0.023407783359289,-0.029916463419795,0.049110021442175,0.063001446425915,0.150301381945610,-0.094155974686146) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.033883523195982,0.009926869533956,0.034830909222364,0.070130534470081,-0.012483088299632,-0.052407432347536,-0.107543416321278,-0.115006886422634,-0.009931707754731,-0.054935678839684,-0.005893284920603,-0.003589611500502,0.184232354164124,0.040656786412001,-0.073354013264179,0.076429583132267) * MODEL7_texOff(vec2(1,0));
res += mat4(0.062016837298870,0.040274366736412,0.182288631796837,0.157431408762932,-0.034419689327478,0.018563559278846,0.023283332586288,0.081449225544930,-0.054349374026060,-0.043739076703787,0.127974465489388,-0.005590345710516,-0.002677580807358,-0.032082300633192,-0.022746885195374,-0.012596863321960) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.249768078327179,0.163317680358887,-0.093688517808914,0.055343884974718,-0.053743805736303,0.009675537236035,0.085837729275227,0.030005875974894,0.003238076809794,-0.033326793462038,-0.003524921601638,0.034622348845005,-0.005129374563694,0.059439901262522,-0.024758134037256,0.021287631243467) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.019680151715875,0.026944704353809,-0.112081728875637,-0.005568542052060,-0.061349499970675,0.076600737869740,-0.129022181034088,-0.073361344635487,0.018625944852829,-0.033299226313829,0.187131851911545,0.052365824580193,-0.091286942362785,-0.089422270655632,0.061890590935946,0.071925811469555) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.085329294204712,0.003060744842514,0.028991024941206,-0.000721165153664,0.018364958465099,-0.017741112038493,0.009979644790292,-0.096080623567104,0.047570895403624,-0.010600783862174,-0.107751898467541,0.035652309656143,-0.103125400841236,-0.024165626615286,-0.104362040758133,-0.038309246301651) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.065281525254250,0.087281629443169,-0.074886433780193,0.227375432848930,-0.269310325384140,-0.015963833779097,-0.237347424030304,-0.050655655562878,-0.146569609642029,-0.045449133962393,-0.213261470198631,0.004643802531064,-0.023495424538851,0.032653544098139,0.075350694358349,-0.117984242737293) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.008816439658403,0.016171010211110,0.068400785326958,-0.062149647623301,-0.212573081254959,0.121722638607025,-0.370209157466888,0.056039743125439,0.125255003571510,0.102851331233978,0.066957227885723,-0.133325472474098,-0.055299539119005,-0.253547102212906,-0.188658088445663,0.025804407894611) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.063307210803032,0.049904964864254,0.054879698902369,-0.042127605527639,0.094401985406876,0.042340405285358,0.167603403329849,-0.072371378540993,0.114064753055573,-0.088259339332581,0.028599228709936,0.066996671259403,0.259942173957825,0.144256040453911,-0.063042484223843,0.136525258421898) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.047470305114985,-0.079867668449879,-0.067835137248039,-0.050657961517572,-0.037294745445251,-0.007044240832329,-0.184195905923843,0.089171491563320,0.040265128016472,-0.081408999860287,-0.014895648695529,0.084908269345760,-0.256987988948822,-0.067511610686779,-0.014309640042484,0.032439257949591) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.245558947324753,0.051044829189777,-0.047556005418301,-0.122976489365101,0.096697509288788,0.014421336352825,-0.183801040053368,0.002509010257199,-0.014831612817943,-0.042019642889500,-0.085207290947437,0.037177920341492,0.245129138231277,0.191307067871094,-0.046477518975735,0.196977779269218) * MODEL8_texOff(vec2(1,0));
res += mat4(0.113256089389324,0.042681332677603,-0.137034416198730,-0.002976640826091,-0.041346281766891,0.032643824815750,0.164229914546013,-0.050658620893955,0.037913113832474,-0.029612066224217,0.067537114024162,0.014105716720223,0.147699430584908,-0.104073822498322,-0.000013449956896,-0.198855921626091) * MODEL8_texOff(vec2(1,1));
res += mat4(0.119035944342613,0.029361225664616,0.042619623243809,-0.010534037835896,0.189100816845894,0.078063897788525,0.142265170812607,-0.105620071291924,-0.050759211182594,0.209479808807373,0.040911912918091,-0.016760924831033,-0.300221949815750,-0.013642470352352,-0.104512877762318,-0.140305757522583) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.007422887720168,0.001410256605595,0.005089063197374,-0.001954655395821,0.001812760252506,0.089220665395260,-0.154706701636314,0.038106407970190,-0.020732598379254,0.285738974809647,-0.079235211014748,-0.097612693905830,0.028332227841020,0.112537480890751,0.102305881679058,0.031716410070658) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.012872297316790,0.000721706717741,-0.086050674319267,-0.029352443292737,-0.125515863299370,-0.046561643481255,-0.008093782700598,-0.021159941330552,0.053271688520908,0.076032087206841,-0.050733372569084,0.096463166177273,-0.128271639347076,-0.087654829025269,0.050554811954498,0.040749385952950) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.149255394935608,0.136062279343605,-0.078616693615913,-0.087145894765854,0.114098615944386,-0.059039555490017,0.220947891473770,0.040341466665268,0.066119953989983,-0.136233866214752,0.096571139991283,-0.202289655804634,0.000653357245028,-0.021803563460708,-0.295079499483109,-0.040837127715349) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.398549973964691,-0.023616805672646,0.001907595666125,-0.016303054988384,-0.189965844154358,0.071181200444698,0.011272607371211,0.144138693809509,0.153906449675560,-0.683719396591187,0.201667279005051,0.027542781084776,0.279313534498215,0.053109664469957,0.154456689953804,0.070840150117874) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.116036899387836,-0.027762757614255,0.135336026549339,-0.044954769313335,0.079145051538944,0.076927825808525,-0.319554865360260,0.209603384137154,-0.086355149745941,-0.033020444214344,-0.022249266505241,-0.019045613706112,0.043288409709930,-0.073635399341583,0.068197995424271,-0.088204026222229) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.082640551030636,0.001244650688022,-0.159638792276382,-0.136580720543861,-0.035373445600271,-0.023332260549068,0.119366668164730,0.043724067509174,0.169740378856659,-0.082977771759033,-0.098696261644363,0.039317745715380,-0.067307949066162,0.005736222025007,-0.083560630679131,-0.020723488181829) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.085267402231693,0.024968381971121,0.074304543435574,-0.056533318012953,0.002419964643195,-0.056599162518978,0.062659129500389,0.114846646785736,0.050476022064686,0.079990267753601,-0.098506115376949,0.075463183224201,-0.136801451444626,0.013121980242431,-0.056190840899944,-0.142200931906700) * MODEL9_texOff(vec2(1,0));
res += mat4(0.013670785352588,0.001034803804941,0.089557580649853,-0.035207763314247,-0.029430318623781,-0.053175635635853,-0.034628547728062,-0.134968593716621,0.045488156378269,0.097685500979424,-0.092600621283054,0.215691581368446,-0.108026169240475,0.006410993169993,0.004342593718320,0.232960239052773) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.291160881519318,-0.045578077435493,-0.096453785896301,-0.050163604319096,-0.150734230875969,0.013146787881851,-0.036504425108433,0.177549660205841,-0.155160918831825,-0.050075341016054,-0.034185476601124,-0.047653060406446,-0.191918477416039,-0.019983444362879,-0.146488457918167,0.064933761954308) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.106810338795185,0.048785112798214,0.025647185742855,-0.085214257240295,0.112546510994434,-0.041848033666611,0.264592498540878,-0.105402313172817,0.010359108448029,0.098141580820084,0.053867604583502,0.055518504232168,-0.019983740523458,-0.048493091017008,-0.063715294003487,0.018457267433405) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.151350617408752,0.055141557008028,-0.003604172263294,-0.096000038087368,0.027682673186064,-0.025940781459212,-0.088871829211712,0.084973216056824,0.289370924234390,0.086628340184689,-0.130984619259834,0.013265983201563,-0.063854932785034,-0.099894486367702,-0.242648020386696,0.238684594631195) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.000639229663648,-0.124135866761208,0.217401057481766,-0.009898720309138,-0.030107041820884,0.030038636177778,-0.077986307442188,0.189753130078316,0.208283081650734,-0.024594897404313,-0.084227271378040,0.005373329389840,0.193640127778053,-0.021656608209014,-0.033242288976908,0.103650622069836) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.089051328599453,0.220544263720512,0.141743957996368,-0.132366195321083,-0.018995542079210,-0.010710709728301,0.127348423004150,-0.529728770256042,-0.122934289276600,-0.034260250627995,-0.029040997847915,0.106211498379707,0.199465706944466,-0.031959574669600,0.151678279042244,0.075019590556622) * MODEL10_texOff(vec2(0,0));
res += mat4(0.017953546717763,0.027764456346631,-0.392230421304703,-0.006064726039767,-0.021768467500806,-0.045818846672773,-0.040599130094051,-0.143316656351089,0.006443139631301,0.055433612316847,-0.052167262881994,0.095002263784409,-0.018430940806866,0.018605107441545,0.047912396490574,-0.010581071488559) * MODEL10_texOff(vec2(0,1));
res += mat4(0.061538342386484,0.022044192999601,0.116259694099426,0.100022867321968,-0.183279111981392,0.032506041228771,0.087932147085667,-0.002699690405279,0.003273890819401,-0.041163146495819,0.090401418507099,0.085601747035980,-0.029873697087169,0.038713533431292,0.003282847348601,-0.007048423402011) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.332170546054840,0.072176240384579,0.243056356906891,0.193194955587387,-0.023095831274986,-0.014902736060321,-0.047573763877153,0.154126763343811,0.158356010913849,-0.101692393422127,-0.300672024488449,-0.003173638135195,-0.057292513549328,0.102689996361732,0.018072990700603,-0.083266362547874) * MODEL10_texOff(vec2(1,0));
res += mat4(0.256527215242386,0.007931506261230,-0.270319402217865,-0.043309364467859,0.025973973795772,0.016319558024406,0.108643315732479,0.062104966491461,-0.162407964468002,0.011400179937482,0.033927086740732,0.082127794623375,0.226768791675568,0.075496628880501,-0.006990747060627,0.140083745121956) * MODEL10_texOff(vec2(1,1));
res += mat4(0.263224542140961,0.011172278784215,0.099331036210060,-0.056204646825790,0.174680724740028,0.025679478421807,0.090028598904610,0.082775056362152,0.136033669114113,-0.117203950881958,0.197015106678009,-0.018463771790266,-0.338731616735458,0.035312488675117,0.042146265506744,-0.001258315169252) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.050338782370090,0.023624835535884,0.103867039084435,-0.140658244490623,-0.094136945903301,-0.068677932024002,-0.163205951452255,-0.087827228009701,0.013360310345888,-0.018029900267720,-0.054769594222307,-0.067334137856960,0.002344410168007,0.198594614863396,0.041524160653353,-0.082145817577839) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.144294276833534,-0.029126483947039,-0.142986118793488,-0.189641773700714,-0.038749113678932,-0.098774842917919,-0.115676358342171,0.070114381611347,0.015891574323177,-0.042010832577944,-0.082245260477066,-0.031700767576694,-0.036063741892576,-0.002325799316168,-0.034224964678288,-0.025317203253508) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.233027622103691,0.025226853787899,0.123189829289913,-0.071145974099636,-0.386596560478210,-0.316898137331009,0.025318957865238,-0.020523143932223,-0.016156991943717,-0.017963690683246,0.204438045620918,0.112865500152111,-0.071053005754948,0.113628827035427,-0.241148203611374,-0.126614853739738) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.060939323157072,0.160185307264328,-0.162331387400627,-0.156725332140923,0.189830422401428,0.398456454277039,-0.141910836100578,0.228656858205795,-0.067576549947262,-0.219899848103523,-0.117954172194004,0.027111168950796,-0.125778704881668,0.286342352628708,0.089783571660519,-0.333512932062149) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.030178906396031,0.027759525924921,-0.065170362591743,-0.066136643290520,-0.041448555886745,-0.016378253698349,0.119708165526390,0.155162334442139,0.055019300431013,-0.148373633623123,-0.238318666815758,0.006177033763379,0.030940273776650,0.010664785280824,-0.146552905440331,0.077907659113407) * MODEL11_texOff(vec2(0,1));
res += mat4(0.023324994370341,-0.046384055167437,0.116566978394985,0.055880814790726,0.064476907253265,-0.100266858935356,-0.239106819033623,0.056225873529911,0.009604254737496,0.096598841249943,0.124649345874786,-0.136480331420898,0.027897465974092,0.035696584731340,-0.015766527503729,0.143079921603203) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.065756544470787,0.007776182144880,-0.049609847366810,-0.089055716991425,0.143883243203163,0.043771538883448,-0.040613561868668,-0.112801030278206,-0.062779851257801,0.039725176990032,0.084601677954197,-0.198887065052986,-0.095026671886444,0.002863163128495,0.148271366953850,0.112497925758362) * MODEL11_texOff(vec2(1,0));
res += mat4(0.084272898733616,0.000109878703370,-0.099568046629429,-0.035154044628143,-0.082306109368801,-0.092607498168945,0.052236765623093,-0.147881418466568,0.017181374132633,0.023842176422477,-0.073377832770348,0.103023193776608,0.069428466260433,-0.004860082175583,-0.033697403967381,-0.053530558943748) * MODEL11_texOff(vec2(1,1));
res += mat4(0.023285718634725,0.036357834935188,-0.085437305271626,-0.125299826264381,-0.133282557129860,0.029134200885892,0.017819540575147,-0.084552504122257,-0.050898861140013,-0.086510740220547,-0.047466605901718,0.041182950139046,-0.146774113178253,-0.072062909603119,0.065844789147377,-0.066424220800400) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.070378512144089,0.008868671953678,0.055570565164089,-0.046168800443411,0.073784328997135,0.147836282849312,-0.040815651416779,0.014838184230030,0.212568745017052,-0.201904669404030,0.066712997853756,-0.055730991065502,0.003294057212770,0.060574714094400,-0.223554328083992,-0.123267456889153) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.080114528536797,0.017685549333692,0.111325293779373,-0.067733511328697,-0.053230956196785,0.090331479907036,0.009881475940347,0.019765347242355,0.000734962231945,-0.097567729651928,-0.049127850681543,-0.034546867012978,-0.020538711920381,-0.034964457154274,0.014757087454200,-0.171496689319611) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.148719906806946,0.104953929781914,-0.090531535446644,-0.011169848032296,-0.026669956743717,-0.012432365678251,0.030708380043507,0.087538763880730,0.047922778874636,0.109747231006622,-0.033562909811735,-0.090096168220043,0.106346741318703,-0.063603565096855,-0.090179197490215,-0.010558988898993) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.014443608000875,0.118788443505764,0.094619512557983,-0.399117141962051,-0.252487450838089,-0.046381793916225,0.222110539674759,-0.066302217543125,0.179814666509628,-0.156576946377754,0.353605717420578,-0.073287151753902,-0.197624757885933,-0.076433248817921,-0.160738900303841,0.061714615672827) * MODEL12_texOff(vec2(0,0));
res += mat4(0.119195625185966,0.009978255257010,0.101006031036377,-0.085269235074520,0.181675940752029,0.016363624483347,-0.117097355425358,0.162231534719467,0.079302713274956,-0.037333410233259,-0.071765743196011,-0.213857591152191,0.079577676951885,-0.005556021817029,-0.162299901247025,-0.052182890474796) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.007596777286381,0.080993235111237,-0.024351947009563,-0.099120087921619,0.066942207515240,0.052298575639725,-0.090243153274059,-0.058787275105715,0.045483350753784,0.124898791313171,0.013097381219268,-0.032518446445465,-0.078117802739143,0.018286649137735,0.086996763944626,0.134782657027245) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.120236359536648,0.064975775778294,-0.085457541048527,-0.060018047690392,-0.085731029510498,0.096301101148129,0.284271955490112,0.168297395110130,0.190930128097534,0.102757729589939,0.196035981178284,0.035316269844770,0.194560095667839,-0.015746971592307,-0.446436822414398,-0.117449335753918) * MODEL12_texOff(vec2(1,0));
res += mat4(0.001123596564867,0.008326398208737,0.085214443504810,-0.116008132696152,0.160833880305290,-0.096576847136021,0.070111319422722,0.054754015058279,-0.064254589378834,0.011238291859627,-0.084732063114643,-0.094251610338688,-0.055135380476713,-0.023837920278311,0.009908665902913,-0.120699480175972) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.009479489177465,0.766430735588074,-0.034460604190826,0.296311765909195) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL6
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 5_6

vec4 hook()
{
vec4 res = vec4(0.011579721234739,-0.067208208143711,0.124180532991886,-0.037310939282179);
res += mat4(-0.071189492940903,0.135224103927612,0.002874088007957,0.186977714300156,0.096491962671280,0.006229427643120,-0.032674316316843,0.002440552925691,-0.069202117621899,-0.164199873805046,-0.126299455761909,0.010278253816068,0.210295721888542,0.017904937267303,-0.084608353674412,-0.033549454063177) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.170237690210342,0.058948155492544,0.000885427347384,0.275279194116592,0.387996226549149,0.140166014432907,-0.158659547567368,0.111842751502991,-0.075030021369457,0.130762368440628,-0.022152358666062,0.056374203413725,-0.035512711852789,-0.016612928360701,-0.051234524697065,-0.064316660165787) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.153439849615097,-0.036511041224003,0.024891437962651,0.036377791315317,0.180229827761650,0.006231043487787,-0.037179991602898,0.108603119850159,-0.030419494956732,-0.005447352305055,-0.023564981296659,-0.099743165075779,-0.017066393047571,0.037547565996647,0.013924345374107,0.037190295755863) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.054038044065237,0.034679375588894,0.044581163674593,0.100669197738171,0.014115101657808,0.031953353434801,-0.009607000276446,-0.045086998492479,-0.021248141303658,-0.056539397686720,0.007367493584752,-0.114979669451714,0.040148936212063,0.114844389259815,-0.036203455179930,-0.149108067154884) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.085581243038177,0.112517155706882,-0.143761813640594,0.060563996434212,-0.000036499346606,-0.109895370900631,0.205255791544914,0.251171827316284,-0.039027638733387,-0.111057616770267,0.205631211400032,-0.159093275666237,0.010742594487965,0.128831535577774,-0.146496459841728,0.051912896335125) * MODEL7_texOff(vec2(0,0));
res += mat4(0.052659980952740,0.092839397490025,0.046524416655302,0.039079904556274,0.036797668784857,0.068683549761772,0.131611526012421,0.046428870409727,0.000479815469589,0.089428313076496,0.171216502785683,0.176479339599609,0.198761299252510,-0.001521725440398,0.076745145022869,0.219746083021164) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.118363596498966,0.159550637006760,0.084078386425972,0.148605704307556,0.059046406298876,-0.088049381971359,-0.095495440065861,0.093941152095795,-0.055967729538679,-0.152683138847351,-0.167393863201141,0.088253937661648,-0.109782494604588,-0.089627213776112,0.069890610873699,0.000005574875104) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.106524281203747,0.077048286795616,-0.101811178028584,-0.028418658301234,-0.186836794018745,0.042875293642282,-0.073220252990723,0.210006356239319,-0.006858047563583,-0.329064995050430,0.097241476178169,-0.003900380106643,0.019129209220409,0.129856795072556,-0.020571058616042,0.045925568789244) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.079723007977009,-0.131647408008575,-0.020308474078774,-0.104500956833363,-0.090278759598732,-0.003741109743714,-0.074563413858414,0.049839619547129,0.001814948744141,0.042399171739817,-0.075969047844410,0.070534050464630,-0.076655797660351,-0.060138169676065,0.043665498495102,0.203657448291779) * MODEL7_texOff(vec2(1,1));
res += mat4(0.089310862123966,0.024400729686022,0.123102553188801,0.101356975734234,-0.205335974693298,-0.041443027555943,-0.030523421242833,0.072590582072735,-0.150683835148811,-0.066080778837204,-0.036930650472641,-0.112525910139084,-0.023608235642314,-0.027259618043900,-0.021148243919015,0.108228467404842) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.191415265202522,0.008051916025579,0.052914001047611,-0.035907782614231,-0.120036698877811,0.049862422049046,0.105696924030781,0.019093768671155,0.215227618813515,-0.038125697523355,0.008319346234202,0.129534021019936,0.045326791703701,-0.039885848760605,-0.154382765293121,0.177414178848267) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.061556860804558,-0.048519849777222,-0.002093408722430,0.017699025571346,-0.055300895124674,-0.047962605953217,-0.074663333594799,-0.073414459824562,0.099172800779343,0.015765424817801,0.000899919483345,-0.086340710520744,0.004867088980973,-0.024914002045989,0.011674571782351,0.039381843060255) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.101352512836456,0.034798592329025,0.158552527427673,0.162290677428246,-0.009277908131480,0.097291119396687,0.008178166113794,-0.109703935682774,-0.106792002916336,0.000456531735836,-0.090583980083466,0.176409631967545,-0.113365083932877,-0.005032816901803,0.021802838891745,0.104255318641663) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.081000663340092,0.007674016524106,-0.034539196640253,0.142605260014534,0.071490101516247,-0.111398383975029,0.153056040406227,-0.002029647585005,-0.001908220234327,-0.013092507608235,0.058510374277830,0.161118105053902,0.101111188530922,-0.040630366653204,-0.110865607857704,-0.088773369789124) * MODEL8_texOff(vec2(0,0));
res += mat4(0.093075126409531,-0.114585027098656,0.046226523816586,-0.007560811005533,-0.089955255389214,-0.066614545881748,0.060389157384634,-0.016557957977057,0.047793824225664,-0.098031550645828,-0.165275350213051,-0.146509766578674,0.060393389314413,0.065815933048725,0.117910698056221,-0.097003825008869) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.063183210790157,-0.072108209133148,-0.040486942976713,-0.032636970281601,0.113126613199711,-0.039660908281803,-0.068221934139729,0.053617250174284,0.005911431740969,-0.024312432855368,0.027632206678391,-0.096579648554325,-0.052920073270798,-0.100228630006313,-0.052588287740946,-0.148110926151276) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.104303024709225,-0.039571031928062,-0.223616421222687,0.084898844361305,-0.031071551144123,-0.030007669702172,0.207841277122498,0.105844974517822,-0.093859434127808,0.092619091272354,-0.018912049010396,0.149933978915215,0.170111626386642,-0.047646965831518,-0.064629636704922,0.032557338476181) * MODEL8_texOff(vec2(1,0));
res += mat4(0.175678879022598,0.049147702753544,-0.032258726656437,-0.010791193693876,0.047628197818995,0.102109439671040,-0.012442341074347,0.082007490098476,-0.067395143210888,0.013732175342739,0.077026970684528,0.086965709924698,0.095739953219891,0.107469916343689,0.284496575593948,0.033920913934708) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.137760803103447,-0.051352933049202,-0.041288778185844,-0.050068419426680,0.065803058445454,-0.070288881659508,-0.019230678677559,0.106050632894039,-0.045135341584682,-0.118780031800270,-0.027867972850800,-0.015778494998813,-0.222941771149635,0.239541932940483,-0.068123102188110,-0.076412707567215) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.074143543839455,0.152762308716774,-0.071354381740093,0.092373877763748,-0.241887167096138,-0.035280473530293,-0.155997529625893,0.335497528314590,-0.155653327703476,-0.160476610064507,-0.044639922678471,-0.028021648526192,-0.152775108814240,-0.190992861986160,0.154957726597786,-0.128494471311569) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.012681975960732,0.025403538718820,-0.078215487301350,0.024020403623581,-0.085474111139774,-0.211223185062408,-0.031785558909178,0.057819534093142,-0.090202167630196,0.122543573379517,-0.041488282382488,-0.114685349166393,-0.018354784697294,0.176376760005951,0.106698527932167,0.053666986525059) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.110381230711937,0.151687949895859,-0.046172201633453,0.075551778078079,0.008346770890057,0.294058591127396,-0.089371241629124,0.078722789883614,-0.014394722878933,0.128618061542511,-0.023627771064639,0.278995066881180,-0.023765234276652,-0.023578858003020,-0.037537842988968,0.114342316985130) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.103158541023731,-0.011688842438161,0.091168597340584,0.080844610929489,0.009745826013386,0.009554772637784,-0.092899866402149,-0.105236798524857,-0.079098388552666,-0.234489321708679,0.061764478683472,0.085172846913338,-0.036776762455702,0.138124436140060,-0.009197928942740,0.072729937732220) * MODEL9_texOff(vec2(0,0));
res += mat4(0.131198018789291,-0.073310725390911,0.170086234807968,-0.148736387491226,-0.021823776885867,0.054278403520584,0.189602002501488,-0.040366798639297,-0.068690150976181,0.054617065936327,-0.052490439265966,-0.129151046276093,-0.030548403039575,-0.035954173654318,-0.089257426559925,0.043468289077282) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.051572296768427,-0.114439070224762,-0.051510535180569,-0.066609464585781,0.012720712460577,0.059425197541714,0.088722310960293,0.074876442551613,0.120911099016666,-0.037802718579769,-0.035183571279049,0.043161597102880,0.123591236770153,-0.115034595131874,-0.041590280830860,-0.009089098311961) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.061608694493771,0.063766621053219,-0.103197440505028,0.068258486688137,0.084533102810383,-0.079043716192245,-0.129412963986397,-0.067242696881294,-0.092726156115532,0.010143019258976,0.182288810610771,0.018086902797222,-0.116898074746132,-0.007425621617585,0.092723228037357,0.034378413110971) * MODEL9_texOff(vec2(1,0));
res += mat4(0.049193583428860,-0.084901593625546,-0.163495823740959,-0.001737513695844,0.047154862433672,-0.062455385923386,0.269182741641998,-0.018510475754738,0.029475286602974,-0.103430569171906,0.149395614862442,-0.215891376137733,-0.011423528194427,-0.048293538391590,-0.151625663042068,-0.037070237100124) * MODEL9_texOff(vec2(1,1));
res += mat4(0.027693400159478,-0.118119433522224,-0.114487946033478,0.006418072152883,0.164984941482544,0.108894877135754,-0.030058803036809,0.003960486035794,-0.112633191049099,0.055092457681894,-0.050115052610636,-0.103454791009426,-0.009022382088006,0.099187135696411,-0.068892881274223,0.013467364944518) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.135572910308838,-0.142739608883858,-0.066209889948368,-0.113235928118229,-0.036084026098251,-0.066738784313202,-0.116513356566429,-0.174433991312981,-0.007758747320622,0.049037445336580,0.091212019324303,-0.012455309741199,-0.377417266368866,-0.071024999022484,0.077871240675449,0.128688126802444) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.200422763824463,-0.089414782822132,0.100788377225399,-0.195942625403404,0.028075482696295,0.025470444932580,0.099694870412350,-0.060552772134542,-0.246830224990845,0.063258491456509,0.049749292433262,-0.028052883222699,-0.322048842906952,-0.014291255734861,0.052067209035158,0.098905943334103) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.033693213015795,0.078186765313148,-0.060319826006889,0.015793217346072,-0.000319534156006,-0.374549329280853,0.120733961462975,0.069772303104401,-0.000982706900686,-0.076889574527740,-0.107242196798325,0.026261543855071,0.048766870051622,-0.101066231727600,0.141700565814972,0.071774892508984) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.024783564731479,0.194365128874779,0.311706721782684,0.064002133905888,0.089796967804432,0.154659643769264,-0.151151061058044,-0.028507824987173,0.245284125208855,0.076609984040260,0.033614058047533,0.094568915665150,-0.361155688762665,0.140507370233536,0.075925283133984,0.035579591989517) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.076588273048401,-0.044898461550474,-0.095832042396069,0.010163924656808,-0.063381768763065,-0.053260643035173,-0.145976528525352,-0.062792472541332,-0.205063194036484,0.118791691958904,-0.011809994466603,0.011264872737229,-0.137192592024803,0.102328754961491,0.261555612087250,0.071035221219063) * MODEL10_texOff(vec2(0,1));
res += mat4(0.187043294310570,-0.033803153783083,-0.197272464632988,0.031159309670329,-0.021346388384700,0.036078944802284,-0.118982225656509,0.032382361590862,-0.056704331189394,-0.145431295037270,-0.110957346856594,0.144126042723656,0.068846046924591,0.055661439895630,-0.151434823870659,-0.026850938796997) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.064599953591824,-0.012111320160329,-0.210107937455177,-0.146214932203293,0.153670683503151,0.085907608270645,0.045674186199903,-0.025585858151317,0.014348999597132,0.169964179396629,-0.108414091169834,-0.098751179873943,0.046817932277918,-0.057654689997435,0.031113553792238,-0.073800072073936) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.086985424160957,0.119949221611023,0.009351364336908,-0.088033869862556,-0.029991406947374,0.170932203531265,-0.194085299968719,0.112652502954006,-0.052106384187937,0.088160537183285,-0.008530631661415,0.037798177450895,0.009390496648848,0.168495476245880,0.083629749715328,0.040894344449043) * MODEL10_texOff(vec2(1,1));
res += mat4(0.057657655328512,-0.139635547995567,-0.133421704173088,0.161268159747124,-0.059360161423683,-0.014815855771303,-0.033524777740240,-0.178651243448257,0.160210922360420,-0.049325831234455,-0.033598382025957,0.040676392614841,-0.194036632776260,0.005170763935894,-0.177086278796196,0.096449792385101) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.131502598524094,0.000302881438984,-0.177046239376068,0.088248915970325,0.214874833822250,0.100749202072620,0.055007074028254,-0.014428507536650,-0.016814922913909,0.145503222942352,-0.143852680921555,0.025352787226439,-0.016701165586710,-0.030945906415582,-0.169132918119431,-0.050557080656290) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.327755838632584,0.039267968386412,-0.131891876459122,0.027617750689387,0.010848415084183,0.047211181372404,0.037465855479240,0.104279957711697,-0.118877701461315,-0.020302679389715,-0.051894586533308,-0.002884539542720,-0.154496654868126,-0.030196046456695,-0.022199582308531,0.005149481352419) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.150023996829987,0.071886576712132,-0.296230345964432,0.022598732262850,0.035967286676168,-0.097131788730621,-0.108637221157551,-0.118297427892685,0.104095675051212,-0.186695888638496,0.106672331690788,-0.040859173983335,-0.126157224178314,0.045282594859600,-0.199075147509575,-0.081560254096985) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.121750868856907,-0.042793534696102,-0.257865637540817,0.035025198012590,-0.017043326050043,-0.137518107891083,0.094878531992435,-0.330908626317978,-0.187249585986137,-0.078866459429264,-0.125304922461510,0.466391116380692,-0.033145833760500,0.074678309261799,-0.266338586807251,-0.013654437847435) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.116395317018032,0.019907236099243,-0.189082562923431,0.057608574628830,0.071952685713768,-0.079185247421265,0.058356590569019,0.064046755433083,-0.135138049721718,-0.020810747519135,0.002646543318406,-0.063078597187996,0.007991292513907,0.129984453320503,0.020530465990305,0.042434070259333) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.029018331319094,0.011698905378580,-0.083399236202240,-0.030724853277206,0.015589351765811,-0.143624484539032,0.049004979431629,-0.091064974665642,0.027385510504246,0.185293197631836,-0.072740346193314,0.014564712531865,0.026192286983132,-0.126279190182686,-0.002639448037371,0.027419190853834) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.197945594787598,-0.055328603833914,-0.114055685698986,0.009836539626122,0.030252810567617,0.110091075301170,-0.226261809468269,-0.023578189313412,0.033904522657394,-0.038771770894527,0.021793553605676,-0.133647099137306,-0.171790570020676,0.031975958496332,-0.010742455720901,0.106327891349792) * MODEL11_texOff(vec2(1,0));
res += mat4(0.122390799224377,-0.038076844066381,-0.079386323690414,-0.094803415238857,0.002902104519308,-0.153596237301826,-0.180777579545975,0.024245332926512,-0.003002621000633,-0.004695724695921,0.060451686382294,-0.125304192304611,0.037004508078098,0.064295463263988,0.137729302048683,0.082300566136837) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.137651935219765,0.005990874487907,0.017119815573096,0.111368432641029,-0.204837590456009,0.099710159003735,0.029966963455081,-0.067285925149918,0.243966788053513,0.000171224848600,-0.026136564090848,-0.046754527837038,-0.290808975696564,-0.105715274810791,-0.110151819884777,0.078194871544838) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.025138808414340,0.026821512728930,0.069035999476910,-0.094234235584736,-0.000789738027379,-0.027458030730486,0.052209287881851,0.017417950555682,0.315830141305923,-0.005301221739501,0.015330481342971,-0.014396217651665,-0.141428396105766,-0.015457412227988,0.054239228367805,0.214343175292015) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.174604415893555,-0.002379679353908,-0.041558146476746,-0.058676153421402,-0.027484528720379,-0.029333917424083,0.108439795672894,-0.119821317493916,0.068276047706604,0.018670206889510,-0.025661019608378,0.143719419836998,-0.112385094165802,-0.082700438797474,0.169264853000641,-0.094657726585865) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.036902587860823,-0.148277804255486,-0.080696411430836,0.128036648035049,0.027970658615232,-0.032879155129194,-0.175642386078835,-0.164776474237442,0.049214977771044,-0.182786628603935,0.111006796360016,0.156897127628326,-0.288455218076706,0.101692862808704,-0.108090855181217,-0.080058999359608) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.070044375956059,-0.045051481574774,0.074200652539730,-0.222803398966789,0.197820350527763,-0.004616088699549,-0.052020121365786,0.064464211463928,-0.102248683571815,0.045394219458103,0.125186741352081,-0.188645273447037,-0.282574504613876,-0.147313669323921,0.064820744097233,-0.127708643674850) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.031836692243814,-0.103361852467060,-0.109339125454426,-0.150535926222801,-0.019036626443267,-0.017883634194732,-0.024497017264366,0.089668586850166,0.012597295455635,0.133423566818237,0.209898144006729,0.090803503990173,-0.218076586723328,0.101348012685776,0.085304431617260,-0.302712231874466) * MODEL12_texOff(vec2(0,1));
res += mat4(0.211564645171165,-0.027308670803905,0.179727047681808,-0.009415009059012,0.207858651876450,0.128893166780472,-0.063950747251511,-0.073386617004871,-0.084271050989628,-0.090387091040611,-0.001967615680769,-0.104467160999775,-0.304641604423523,-0.087007209658623,-0.104363657534122,0.069997355341911) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.070209093391895,-0.133597567677498,-0.082739867269993,0.068124748766422,0.062924973666668,-0.089162461459637,-0.084532029926777,0.076969660818577,0.021070722490549,0.090343877673149,0.027212085202336,-0.158274933695793,-0.139117509126663,0.158963352441788,-0.140731707215309,0.068490117788315) * MODEL12_texOff(vec2(1,0));
res += mat4(0.087826281785965,-0.066059924662113,-0.117472805082798,-0.155117794871330,0.039247192442417,0.091362223029137,-0.027930505573750,-0.114265955984592,0.050509650260210,-0.036510441452265,0.010168843902647,0.108795560896397,-0.117845386266708,0.132394149899483,0.145757272839546,-0.053813919425011) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.012213516049087,0.529897153377533,0.104361668229103,0.169104337692261) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL7
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 6_1

vec4 hook()
{
vec4 res = vec4(0.070426642894745,0.244814187288284,-0.217636257410049,-0.112671226263046);
res += mat4(0.125694066286087,-0.046584386378527,-0.051552057266235,0.043142091482878,0.199785828590393,-0.013123084791005,0.028428094461560,0.091599568724632,-0.061633694916964,-0.022607326507568,0.089763812720776,-0.022837987169623,-0.000352493807441,-0.041028290987015,-0.014321218244731,-0.051837481558323) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.336439460515976,-0.103257276117802,-0.048323020339012,-0.058695159852505,-0.014970078133047,-0.098427079617977,-0.031095389276743,-0.039303049445152,-0.141589879989624,0.039940733462572,0.298137396574020,0.150978460907936,0.018737468868494,-0.129700496792793,-0.283296763896942,-0.201128497719765) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.087360091507435,0.003157296450809,0.002764903241768,0.117950469255447,-0.012836526148021,0.028766082599759,0.035635672509670,-0.178186684846878,-0.180958569049835,-0.065721325576305,-0.043912272900343,0.044135458767414,0.043172918260098,-0.069608584046364,0.014199862256646,-0.117341607809067) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.156637921929359,-0.089374899864197,0.026246460154653,0.113629259169102,0.180740147829056,-0.025632161647081,0.043907262384892,0.187022298574448,-0.005111244507134,-0.008782714605331,-0.011484177783132,0.087061181664467,-0.154683247208595,-0.015541950240731,-0.077779345214367,0.070170141756535) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.020515697076917,-0.075727537274361,0.082864508032799,-0.073907829821110,0.016082808375359,0.009208492934704,0.260976254940033,0.147428274154663,0.186811789870262,0.073242619633675,-0.153087437152863,-0.160103738307953,0.090811833739281,-0.004999284166843,0.108574353158474,0.124250747263432) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.058110080659389,0.060110095888376,-0.073729142546654,0.165052071213722,-0.060806773602962,0.212900936603546,-0.026988571509719,-0.157684028148651,0.072147846221924,-0.106499016284943,0.147562086582184,0.148839831352234,0.078868925571442,-0.039560683071613,-0.130741104483604,-0.190716251730919) * MODEL1_texOff(vec2(0,1));
res += mat4(0.084145627915859,0.034148138016462,-0.040899544954300,0.035878568887711,-0.022138506174088,0.082419872283936,-0.132472991943359,-0.065116167068481,-0.070530652999878,-0.053728971630335,-0.245580390095711,-0.075159125030041,-0.122827522456646,0.000105618615635,0.073727630078793,0.142103269696236) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.109228529036045,-0.228093564510345,-0.068067766726017,-0.136263370513916,0.005140994675457,-0.021165044978261,0.114632658660412,-0.046083644032478,-0.011735172010958,0.121291130781174,0.039436202496290,-0.007418549153954,-0.035850435495377,-0.115769430994987,-0.048916433006525,0.080334007740021) * MODEL1_texOff(vec2(1,0));
res += mat4(0.122501671314240,0.112931661307812,0.064412705600262,-0.021325394511223,0.153417542576790,0.150146782398224,-0.036784272640944,-0.027408326044679,-0.174205347895622,-0.058766897767782,-0.231173768639565,0.039944946765900,-0.090109318494797,-0.013159852474928,0.000764149590395,-0.048769157379866) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.063199140131474,0.110119283199310,-0.161849483847618,0.025538943707943,-0.065563820302486,0.016306579113007,0.006870660930872,-0.035967420786619,0.001217534532771,0.106921963393688,-0.060565616935492,-0.023635862395167,0.092590540647507,-0.158863812685013,-0.175800785422325,-0.024538617581129) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.255277663469315,0.016346845775843,0.105870060622692,0.019002746790648,-0.047361135482788,-0.066497988998890,0.017991986125708,-0.124245010316372,0.114515423774719,0.034177411347628,0.214834734797478,0.085991278290749,-0.018815323710442,-0.085180439054966,-0.213984519243240,-0.168395131826401) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.052393160760403,-0.006705716717988,-0.164672330021858,-0.195415720343590,0.067818120121956,-0.074003405869007,-0.175370201468468,-0.053154453635216,-0.029199549928308,-0.001058989437297,0.009524298831820,0.026188306510448,-0.032812941819429,-0.031154846772552,0.039882130920887,-0.095944575965405) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.025194762274623,0.095395073294640,0.065883889794350,0.073228843510151,-0.063945904374123,-0.103694029152393,-0.001660485635512,-0.039211247116327,0.185171872377396,-0.007720172870904,-0.101354286074638,0.156070277094841,-0.003672079415992,-0.061913628131151,0.121317327022552,0.028283247724175) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.016706265509129,0.082940496504307,-0.007482325192541,-0.083723962306976,0.037312064319849,-0.059138059616089,0.308066993951797,0.126057684421539,0.020632931962609,-0.061020236462355,-0.211381882429123,0.089321628212929,-0.044455721974373,0.189478725194931,0.144886091351509,0.096367895603180) * MODEL2_texOff(vec2(0,0));
res += mat4(0.241258531808853,-0.118469968438148,0.154373109340668,0.013899968937039,0.143616035580635,0.021773539483547,0.094239145517349,0.063474290072918,0.047304753214121,-0.044002044945955,0.021865433081985,0.040540140122175,-0.000716713315342,0.048821318894625,-0.006169816013426,-0.190384730696678) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.134097933769226,-0.001174024771899,0.180221125483513,0.049908980727196,-0.063079856336117,0.030954169109464,-0.078247882425785,-0.070668913424015,-0.049196925014257,0.090243056416512,-0.192201778292656,-0.069379121065140,-0.036594502627850,0.084405280649662,0.112530529499054,0.016301464289427) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.003023403929546,0.087119176983833,0.077652402222157,0.017710961401463,-0.191412419080734,0.011792006902397,-0.133317351341248,-0.046206705272198,-0.220781311392784,0.102969549596310,-0.195547938346863,-0.148456588387489,-0.014405648224056,-0.066759288311005,0.315995693206787,-0.046288095414639) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.031634043902159,-0.015378137119114,0.007351955864578,-0.189659148454666,-0.001935319975019,-0.057622130960226,0.237719163298607,0.103449203073978,0.111250102519989,-0.075447589159012,-0.149291142821312,0.154881358146667,0.004717406351119,-0.079441338777542,0.051347520202398,-0.035693801939487) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.001690381206572,-0.021439226344228,-0.073925130069256,0.041499864310026,-0.003258666722104,-0.037288408726454,-0.287261575460434,0.111688978970051,0.001263821148314,-0.079966217279434,-0.106989540159702,0.106904245913029,0.062141574919224,0.004476385656744,-0.111462198197842,-0.095623582601547) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.071390248835087,0.075980238616467,-0.152087673544884,-0.119554199278355,-0.064869120717049,-0.095889538526535,-0.362208276987076,-0.025409722700715,0.046051651239395,0.047495853155851,0.013510270044208,0.064116612076759,-0.048052616417408,-0.030984757468104,0.054034382104874,0.005659608636051) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.038430262356997,-0.071353219449520,0.009697847068310,0.006219583563507,0.102023072540760,-0.150620579719543,-0.100354082882404,-0.006714330520481,-0.077029019594193,0.030070407316089,-0.093792907893658,0.011520874686539,0.021030271425843,0.030968446284533,-0.035813741385937,-0.115387551486492) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.110326550900936,-0.061433803290129,0.014844942837954,0.021729905158281,-0.041959233582020,0.100874505937099,0.185655578970909,0.035579565912485,0.149134173989296,-0.186903342604637,-0.007172849494964,0.069045893847942,-0.108949460089207,-0.311269849538803,0.090759798884392,0.119981087744236) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.093489699065685,0.019053570926189,0.179310157895088,-0.040746383368969,-0.018837081268430,0.163341358304024,0.328963845968246,0.068984962999821,0.244856357574463,-0.269596815109253,0.211342960596085,0.061993543058634,-0.059674430638552,-0.219433277845383,0.031002709642053,0.029680337756872) * MODEL3_texOff(vec2(0,0));
res += mat4(0.054624609649181,0.208834424614906,-0.185844168066978,-0.112809829413891,-0.174378722906113,0.200119554996490,0.191930174827576,0.066367559134960,0.026654845103621,-0.026296263560653,0.189559698104858,0.132653102278709,0.153983175754547,0.075056716799736,0.025693876668811,-0.176291406154633) * MODEL3_texOff(vec2(0,1));
res += mat4(0.015280232764781,0.044112596660852,0.038872648030519,0.108530588448048,0.334030777215958,-0.087538853287697,0.153682947158813,-0.017108637839556,-0.087386891245842,0.064334794878960,-0.081995777785778,-0.016120761632919,0.029116341844201,-0.070466272532940,-0.013524550944567,0.056912757456303) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.101493284106255,-0.023847358301282,0.102986283600330,-0.029323944821954,0.110803298652172,0.021275682374835,0.244711726903915,0.153979524970055,-0.171844005584717,0.088422849774361,-0.192776218056679,-0.054498147219419,-0.185784667730331,0.080308839678764,0.071419179439545,-0.088142238557339) * MODEL3_texOff(vec2(1,0));
res += mat4(0.124506168067455,-0.041974253952503,0.036437489092350,-0.056711405515671,-0.063224174082279,0.084223069250584,-0.048795245587826,0.198396146297455,-0.096593253314495,0.102616719901562,-0.158465430140495,0.004697614349425,0.043619755655527,0.018497966229916,0.084259651601315,0.004631938878447) * MODEL3_texOff(vec2(1,1));
res += mat4(0.000167636462720,-0.061323467642069,0.134302690625191,-0.020478781312704,-0.112542226910591,-0.042775586247444,-0.034409180283546,-0.032123856246471,0.085561253130436,-0.056745488196611,-0.020822355523705,0.041907068341970,0.127360001206398,0.031653981655836,0.099480867385864,0.031401518732309) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.157397121191025,0.026531495153904,0.176583319902420,-0.208537310361862,0.014246447011828,0.018253950402141,-0.163437992334366,-0.068815499544144,0.044199559837580,-0.138640746474266,-0.157228276133537,-0.221200376749039,-0.084229707717896,-0.031949866563082,0.112479299306870,0.114122919738293) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.101003400981426,0.129324436187744,0.067223243415356,0.040307167917490,0.104987241327763,0.158013135194778,-0.021145606413484,-0.114341355860233,0.028069015592337,-0.005770475603640,-0.052340228110552,-0.078458793461323,-0.091339744627476,-0.059466022998095,-0.018472665920854,-0.170247167348862) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.161656185984612,-0.065859891474247,0.025979958474636,0.023174937814474,-0.181248486042023,0.097773663699627,0.051521301269531,-0.122750334441662,-0.197292923927307,0.031689729541540,0.153597027063370,-0.040947321802378,0.143764391541481,-0.047756571322680,-0.144136190414429,0.323931634426117) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.111076466739178,-0.000105093262391,-0.015337806195021,0.059407290071249,-0.105222806334496,0.036901798099279,-0.066244468092918,-0.049094520509243,0.074855178594589,0.044313825666904,0.218348637223244,0.003768543247133,-0.223900273442268,0.078273162245750,0.187906533479691,0.208588138222694) * MODEL4_texOff(vec2(0,0));
res += mat4(0.153257563710213,0.142694309353828,0.098699055612087,0.017003377899528,0.181736394762993,-0.172154396772385,-0.104973100125790,-0.029590433463454,0.016057044267654,-0.058207239955664,0.207002997398376,0.026759643107653,-0.220445454120636,0.012079234234989,-0.076249428093433,-0.218801885843277) * MODEL4_texOff(vec2(0,1));
res += mat4(0.063395358622074,-0.050570812076330,-0.192246273159981,-0.228103667497635,-0.078665338456631,-0.072143785655499,-0.060392983257771,-0.007894207723439,-0.104826241731644,0.106258243322372,0.224417701363564,0.007110966835171,0.068862862884998,-0.000930613954552,0.011468969285488,0.008091223426163) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.014504630118608,0.137810990214348,-0.113097347319126,-0.064807429909706,0.031705260276794,0.007461589761078,-0.178997591137886,0.029520478099585,0.213901951909065,0.008957600221038,0.166919976472855,-0.024225125089288,0.047488801181316,0.134172767400742,0.026760021224618,-0.021519811823964) * MODEL4_texOff(vec2(1,0));
res += mat4(0.078511491417885,-0.015107010491192,-0.052178781479597,0.008023171685636,-0.277991294860840,-0.009302789345384,0.073540881276131,0.034862510859966,0.065832234919071,-0.040304642170668,0.173637747764587,0.148305624723434,-0.044992692768574,0.088617078959942,-0.051023941487074,-0.061131451278925) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.031192177906632,-0.076144471764565,-0.018537335097790,-0.009421098977327,0.030734051018953,0.009972037747502,0.115081086754799,0.001405081944540,-0.022703653201461,0.001019163057208,-0.018079070374370,-0.038451340049505,-0.010108393616974,-0.060328532010317,-0.001714699901640,-0.025926720350981) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.064177155494690,-0.012797276489437,-0.024247115477920,-0.015027791261673,-0.029093503952026,-0.019874770194292,0.243269443511963,0.013130309060216,-0.092605933547020,0.038556158542633,0.127202868461609,-0.103568710386753,-0.197229325771332,0.043017998337746,-0.066766232252121,-0.055753834545612) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.047798149287701,-0.005665450356901,0.004588721320033,-0.035014595836401,-0.137239366769791,0.010012973099947,-0.070678435266018,0.084667399525642,0.038646444678307,0.072036936879158,0.006717350333929,-0.215349197387695,-0.071604199707508,0.049973815679550,-0.089679643511772,0.065672695636749) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.106501542031765,-0.056297224014997,0.049917176365852,0.053677611052990,0.117954760789871,-0.056057769805193,-0.030027387663722,0.091572411358356,0.202868446707726,-0.208193331956863,-0.070457875728607,0.187049359083176,0.092148564755917,0.042343053966761,-0.105433590710163,-0.074699036777020) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.064339324831963,0.001968640834093,0.006563976872712,0.178752079606056,-0.009951669722795,-0.180084004998207,-0.186675652861595,-0.226923808455467,0.023060057312250,-0.292711108922958,-0.045752722769976,0.006365812383592,-0.218392342329025,-0.078121863305569,-0.101122938096523,-0.071810744702816) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.226895049214363,-0.196841433644295,-0.126004770398140,0.033433753997087,0.034591972827911,-0.042385943233967,-0.014497932046652,0.234160974621773,-0.040556687861681,0.075670056045055,0.142525807023048,-0.151622772216797,0.063217788934708,-0.002847699914128,0.017951237037778,0.021762304008007) * MODEL5_texOff(vec2(0,1));
res += mat4(0.108759880065918,0.003168019000441,0.128003016114235,0.110896915197372,-0.059021219611168,0.095680087804794,0.103747881948948,-0.072265163064003,-0.087938688695431,0.015544311143458,-0.016161376610398,-0.010435275733471,-0.079925909638405,-0.019592843949795,0.136910632252693,-0.026345089077950) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.383608996868134,0.008776373229921,0.062261220067739,0.096091419458389,0.021775092929602,0.004437885712832,0.177336856722832,-0.077943630516529,-0.111351601779461,-0.135743111371994,0.031251799315214,-0.076371066272259,0.124186351895332,-0.090137958526611,0.108143687248230,-0.048506304621696) * MODEL5_texOff(vec2(1,0));
res += mat4(0.029027177020907,-0.148228257894516,0.026954224333167,-0.043198812752962,0.047292754054070,-0.106971517205238,-0.003785426961258,0.103214822709560,0.003386850235984,-0.065704427659512,0.067416086792946,-0.048571806401014,0.128566592931747,0.129104763269424,0.070006847381592,-0.123983636498451) * MODEL5_texOff(vec2(1,1));
res += mat4(0.044285126030445,-0.003574394388124,0.067475982010365,0.053399376571178,-0.046087957918644,-0.003159272950143,0.007850921712816,0.039968430995941,-0.169933825731277,-0.005338316783309,-0.062329307198524,-0.013990422710776,0.016381872817874,-0.034029096364975,0.054988842457533,-0.038912527263165) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.016912756487727,-0.032502807676792,0.065309077501297,-0.130189225077629,-0.245983406901360,-0.081086210906506,0.057078119367361,0.048711083829403,-0.084514014422894,0.141738906502724,-0.015627326443791,0.073137313127518,-0.046128500252962,-0.148865103721619,-0.104367330670357,0.028797902166843) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.017860164865851,-0.007645658217371,0.107206046581268,-0.114499084651470,0.038594804704189,0.094948820769787,0.153657630085945,0.018727302551270,-0.065734930336475,0.007236494217068,0.052936978638172,0.277581006288528,-0.157717779278755,0.004988554399461,-0.093417152762413,-0.029049217700958) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.086898691952229,-0.064884386956692,-0.146431013941765,0.132278233766556,-0.160656973719597,-0.046951856464148,-0.187719747424126,-0.107344247400761,-0.162726759910583,0.005445746239275,0.108625054359436,0.058260347694159,0.115380436182022,0.049948807805777,0.108651734888554,-0.131291940808296) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.119517214596272,-0.017257040366530,-0.063194729387760,-0.032820399850607,0.104456186294556,-0.047154594212770,0.066092714667320,-0.037707865238190,-0.148763969540596,0.176920622587204,0.040318205952644,0.036061514168978,-0.011280993930995,-0.004915533587337,0.164663419127464,0.111155770719051) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.045384585857391,-0.059413809329271,0.013894712552428,0.011164396069944,0.049338366836309,-0.095603749155998,-0.109003387391567,-0.018382519483566,-0.230577036738396,0.097887389361858,0.104836635291576,-0.121790774166584,-0.186257958412170,-0.061016127467155,-0.051624175161123,0.134081393480301) * MODEL6_texOff(vec2(0,1));
res += mat4(0.023096511140466,0.035636827349663,-0.131254777312279,-0.047447223216295,0.007360200397670,0.066632017493248,-0.153841227293015,-0.052465118467808,-0.128496900200844,-0.005540781654418,-0.055475138127804,-0.036275040358305,0.091119229793549,0.070345617830753,0.085745245218277,0.024910479784012) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.017545169219375,-0.089467741549015,-0.206515118479729,-0.072740934789181,0.049872063100338,0.032134775072336,-0.064579039812088,0.001573860528879,-0.001787308254279,-0.047221217304468,0.141818657517433,0.038689404726028,0.009128481149673,0.077798940241337,-0.067792065441608,0.090012669563293) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.003058455651626,0.035266991704702,-0.070339575409889,0.114094212651253,0.125181064009666,-0.064012482762337,0.149572983384132,-0.060069225728512,0.067863442003727,0.037422303110361,0.008344711735845,0.028392294421792,-0.127833455801010,-0.063298910856247,-0.141966536641121,0.000799586181529) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.286532700061798,0.336177110671997,-0.017003040760756,0.380037277936935) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL8
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 6_2

vec4 hook()
{
vec4 res = vec4(-0.152756646275520,-0.011610464192927,-0.067227512598038,-0.104042358696461);
res += mat4(-0.025553133338690,-0.186203628778458,-0.197785422205925,0.063087016344070,0.112260341644287,-0.013373268768191,-0.035490319132805,-0.095275156199932,0.055635038763285,-0.128905341029167,0.004315299913287,-0.149978026747704,-0.131634980440140,0.135710075497627,0.019368410110474,-0.027078744024038) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.195528551936150,-0.164989769458771,-0.353021860122681,-0.172754898667336,0.048600818961859,0.094277888536453,0.008298137225211,-0.049266088753939,-0.118716724216938,0.015402236022055,-0.253283470869064,-0.183139532804489,0.040352296084166,-0.191678151488304,0.081813342869282,0.011512359604239) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.087007634341717,0.113230302929878,0.053179342299700,-0.046534355729818,-0.025916943326592,0.188193172216415,-0.300724685192108,0.271906405687332,-0.004519962240010,0.050554458051920,-0.008319968357682,-0.101306296885014,0.061939138919115,0.002408227417618,-0.038507763296366,0.045835129916668) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.020596131682396,-0.063536025583744,-0.103373400866985,-0.207536369562149,0.125954613089561,0.234412640333176,-0.152749642729759,-0.098936893045902,0.265523165464401,0.184571340680122,0.102459095418453,0.096330866217613,-0.022457784041762,0.025843946263194,0.013313386589289,0.102697737514973) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.243438810110092,-0.254723578691483,-0.119554668664932,0.287407547235489,0.186516359448433,0.146451056003571,0.041241325438023,0.103654421865940,-0.170436710119247,-0.183326259255409,-0.111557431519032,0.088022515177727,0.206970036029816,-0.099279902875423,0.040435578674078,-0.031195506453514) * MODEL1_texOff(vec2(0,0));
res += mat4(0.101841874420643,0.040115296840668,0.021378505975008,-0.127936065196991,-0.151617363095284,0.088897325098515,-0.288930028676987,0.080322012305260,0.103470280766487,0.072117164731026,0.038870584219694,0.027373112738132,-0.039475075900555,-0.015592283569276,-0.091245770454407,0.116851121187210) * MODEL1_texOff(vec2(0,1));
res += mat4(0.082783177495003,0.018539790064096,0.020150946453214,0.119188413023949,-0.008251151069999,0.111485153436661,-0.141687244176865,0.106067053973675,0.011033394373953,-0.054417043924332,-0.041405864059925,0.093715086579323,-0.085902541875839,-0.255672901868820,-0.094237528741360,0.005781269166619) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.026853173971176,0.066499710083008,0.124624349176884,-0.160073444247246,0.287388771772385,0.250522583723068,-0.050537362694740,-0.076154001057148,-0.111032843589783,-0.089057356119156,0.031354989856482,0.052647709846497,0.064316764473915,-0.112255625426769,-0.129792690277100,-0.032402548938990) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.067865200340748,-0.070120863616467,-0.091345481574535,-0.062580585479736,-0.087528906762600,0.191306993365288,-0.267796218395233,-0.035101313143969,0.018650444224477,-0.006284992676228,0.027075888589025,-0.045376103371382,0.123548693954945,0.120180942118168,-0.012932423502207,0.032704323530197) * MODEL1_texOff(vec2(1,1));
res += mat4(0.036849744617939,-0.165222257375717,0.025427613407373,0.122454822063446,-0.000048043184506,-0.031435746699572,0.125684052705765,0.040028743445873,0.001863091485575,-0.149391189217567,0.108594544231892,-0.127129182219505,-0.177307888865471,-0.024953041225672,-0.000206607059226,0.038614608347416) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.040387555956841,-0.174522995948792,-0.035493459552526,0.335894823074341,0.084415070712566,-0.266766756772995,0.024343749508262,0.021984746679664,0.033967573195696,0.087413556873798,-0.116680838167667,-0.050081770867109,-0.025637479498982,-0.218567818403244,-0.245085537433624,0.090967066586018) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.015729900449514,0.059819877147675,0.038323719054461,0.104256778955460,-0.100844785571098,0.002201101509854,-0.027381727471948,-0.029135545715690,-0.032764900475740,0.046983916312456,0.106602132320404,-0.116084747016430,0.034130945801735,-0.004325934685767,-0.098453901708126,0.072849325835705) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.100335784256458,-0.192646175622940,-0.036545466631651,0.169889599084854,-0.186576038599014,0.142341718077660,0.056353870779276,-0.085097648203373,-0.162995591759682,-0.136145502328873,0.003217096673325,0.008266958408058,-0.013115699402988,-0.043705888092518,-0.197636887431145,-0.012148679234087) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.018725328147411,0.290540099143982,0.100478537380695,-0.154039412736893,0.354296863079071,0.076277703046799,0.034819435328245,-0.151820510625839,0.004888037219644,-0.073763556778431,0.073310896754265,-0.128697961568832,0.090559378266335,0.023368701338768,-0.128622934222221,0.064434438943863) * MODEL2_texOff(vec2(0,0));
res += mat4(0.166889175772667,0.148164361715317,0.017054030671716,0.224510252475739,-0.144403040409088,-0.075084567070007,-0.242748096585274,-0.090845577418804,0.005378067027777,-0.108291037380695,0.082227356731892,0.058623660355806,-0.047855570912361,0.105843983590603,-0.149460226297379,0.031766787171364) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.013996497727931,0.228102788329124,-0.064230456948280,-0.080624677240849,-0.083073273301125,0.041427195072174,-0.079918965697289,0.010522484779358,-0.247199729084969,-0.097399160265923,0.015632929280400,0.075717352330685,-0.043850548565388,0.107906922698021,0.084467113018036,0.117369607090950) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.051311466842890,0.107417009770870,0.154387295246124,-0.302295356988907,0.030586417764425,-0.026320222765207,0.059901565313339,0.165606319904327,-0.044462192803621,-0.267340809106827,0.048558954149485,0.209430903196335,0.027435604482889,0.060170512646437,0.087342143058777,-0.222945466637611) * MODEL2_texOff(vec2(1,0));
res += mat4(0.038103863596916,-0.113047704100609,-0.013586596585810,0.031347241252661,0.010505324229598,-0.002467416925356,0.022849371656775,0.025252541527152,0.101234376430511,0.060268238186836,0.129716634750366,0.023822378367186,-0.014442121610045,-0.010576679371297,-0.040019616484642,-0.198998779058456) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.044020384550095,0.199445277452469,-0.156404703855515,0.114074975252151,-0.061248950660229,-0.031041787937284,0.006551392376423,0.061161719262600,-0.009950092993677,-0.114042699337006,-0.125658676028252,0.017328009009361,0.044150426983833,-0.140787363052368,0.354030966758728,-0.090916790068150) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.022637341171503,-0.110711388289928,0.135192647576332,0.162545219063759,0.016447981819510,-0.135752931237221,0.183844283223152,0.046496629714966,0.094082690775394,0.042467337101698,0.012352548539639,0.005414600018412,0.073896318674088,0.111422203481197,0.177260383963585,-0.011998141184449) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.013436175882816,0.077413305640221,-0.087168887257576,0.069353632628918,-0.021248966455460,-0.050397880375385,0.063523083925247,0.144781246781349,0.035305261611938,0.115730784833431,0.035374045372009,0.066369466483593,-0.117155693471432,-0.043931934982538,-0.075249843299389,-0.000129473599372) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.013623587787151,0.008857375010848,0.010746543295681,0.035511329770088,-0.056929774582386,-0.050413407385349,0.054733797907829,0.072815530002117,-0.090704470872879,-0.158853337168694,0.038903295993805,-0.107099436223507,-0.045819282531738,-0.115008361637592,0.215409383177757,-0.191643759608269) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.178656652569771,0.228909730911255,0.050499901175499,0.270340740680695,-0.062844522297382,-0.249201178550720,-0.108683377504349,0.123048648238182,0.129301398992538,0.191501230001450,-0.065096780657768,0.144991308450699,0.213100910186768,0.018130332231522,0.168791428208351,-0.204688251018524) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.086239613592625,0.013796647079289,-0.224212661385536,-0.053987987339497,-0.017144076526165,-0.079056330025196,-0.005434933118522,-0.019043397158384,-0.054100647568703,-0.016305424273014,0.091741725802422,-0.027808165177703,-0.100632533431053,-0.187896877527237,-0.004234625026584,0.113199979066849) * MODEL3_texOff(vec2(0,1));
res += mat4(0.041432950645685,0.138447239995003,-0.193785101175308,0.054333966225386,-0.074962660670280,-0.057299565523863,0.087513826787472,0.040025144815445,-0.160212308168411,0.073920063674450,0.032941050827503,0.115976393222809,-0.061181012541056,-0.027446128427982,-0.002473359694704,-0.181181132793427) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.036113254725933,0.056787531822920,-0.099492803215981,-0.202654957771301,-0.063142694532871,-0.053417734801769,0.021119961515069,-0.118876568973064,0.084074780344963,-0.206623539328575,-0.012253309600055,0.017354652285576,-0.006202213466167,0.030406767502427,-0.049253545701504,-0.006025953218341) * MODEL3_texOff(vec2(1,0));
res += mat4(0.001525144791231,0.062040183693171,-0.154999509453773,0.121069848537445,-0.001514109200798,-0.032255567610264,-0.133389666676521,0.098015807569027,-0.070304945111275,0.080153770744801,-0.021658271551132,0.101158127188683,-0.051880270242691,-0.109849825501442,0.031719435006380,0.006042502820492) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.047294329851866,0.062343537807465,-0.138432890176773,-0.056861788034439,-0.021591668948531,0.082372747361660,0.098082870244980,-0.028859572485089,0.011663385666907,-0.145395010709763,-0.060154166072607,-0.024737741798162,0.047799400985241,-0.029202343896031,0.034318793565035,-0.041871085762978) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.141899988055229,0.178633630275726,0.130235090851784,-0.015481777489185,0.111257970333099,0.026136148720980,0.097470462322235,0.054560542106628,-0.056342810392380,-0.077438205480576,0.005863002035767,0.000434171088273,0.085983917117119,-0.152236893773079,0.015289389528334,-0.157160371541977) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.085367329418659,-0.023156104609370,-0.157258316874504,-0.107626073062420,0.002920846454799,-0.236330434679985,0.121255971491337,-0.162638619542122,0.001317184884101,0.036166597157717,-0.134049192070961,-0.006953450385481,0.083531960844994,0.020564323291183,-0.033714983612299,-0.053568534553051) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.064309298992157,0.067318640649319,-0.189645811915398,-0.044893376529217,0.035860724747181,-0.012523171491921,0.136108160018921,0.040799036622047,0.081356815993786,-0.084967374801636,0.094905562698841,-0.066274866461754,-0.091320157051086,0.082115203142166,-0.223183766007423,-0.051733501255512) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.211065977811813,-0.064801730215549,0.130184590816498,-0.011615708470345,0.280672192573547,-0.205973610281944,0.116661742329597,-0.059922240674496,-0.084136284887791,-0.146806821227074,-0.233462870121002,0.117805123329163,0.068831175565720,-0.079602792859077,-0.021025674417615,0.216127425432205) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.068810291588306,-0.053830310702324,-0.009182694368064,0.005901082418859,0.035405650734901,0.032689332962036,-0.018279014155269,-0.294542521238327,-0.051091417670250,-0.028097376227379,-0.001255822950043,-0.059923030436039,0.028777278959751,-0.057038296014071,0.023119071498513,-0.129102289676666) * MODEL4_texOff(vec2(0,1));
res += mat4(0.068148203194141,0.199416548013687,-0.070947252213955,-0.102306619286537,0.024262333288789,-0.139442071318626,0.084267541766167,-0.146421089768410,0.121859781444073,-0.139536127448082,0.110042884945869,-0.115295641124249,-0.079139143228531,0.072186738252640,0.135336101055145,0.080357164144516) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.018669059500098,-0.049317046999931,0.020289598032832,-0.029032506048679,0.209299117326736,-0.181925892829895,-0.047330018132925,0.048052128404379,0.066203631460667,-0.150903329253197,-0.051227755844593,-0.177625924348831,0.020060358569026,-0.081105597317219,0.121505104005337,-0.166869044303894) * MODEL4_texOff(vec2(1,0));
res += mat4(0.040368817746639,-0.074932463467121,0.030344590544701,0.019121872261167,-0.066259428858757,0.059061445295811,-0.113294675946236,-0.026898996904492,-0.270440131425858,0.003196207573637,0.002548854332417,-0.065508760511875,0.007858863100410,-0.007844783365726,0.008011099882424,-0.038044519722462) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.032206628471613,0.057884715497494,0.043911758810282,0.032270498573780,0.007826277986169,-0.202012374997139,-0.014498061500490,-0.020138571038842,-0.034213829785585,-0.237686425447464,-0.075908720493317,-0.110325954854488,-0.274413108825684,-0.211463898420334,0.050154227763414,0.029411200433969) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.085332430899143,0.046827442944050,-0.009535663761199,0.172985136508942,-0.107206195592880,0.099943511188030,-0.178527638316154,-0.025515185669065,0.211921468377113,0.092025309801102,0.144458055496216,-0.076062053442001,0.029741240665317,0.113277323544025,0.125528007745743,-0.045653779059649) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.067191131412983,0.120917581021786,0.169183120131493,0.044293481856585,0.020250383764505,0.076968319714069,0.113879524171352,-0.072028338909149,-0.147664815187454,-0.149036884307861,-0.150031581521034,-0.099900089204311,-0.020043073222041,0.030355593189597,0.034812133759260,-0.177033066749573) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.136648193001747,-0.059216968715191,0.096829988062382,0.116366937756538,0.159910410642624,0.086822390556335,-0.223454102873802,-0.060504600405693,0.070562332868576,-0.033372897654772,-0.047498647123575,0.018983311951160,0.033230602741241,-0.137429550290108,0.067700490355492,0.139932855963707) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.108762308955193,-0.081917174160480,0.294772654771805,-0.116988539695740,-0.328583598136902,-0.220579549670219,0.033850543200970,0.342384606599808,0.110985569655895,-0.062477998435497,-0.073360078036785,-0.044425319880247,-0.002934669377282,0.222334414720535,-0.121079020202160,0.006057967431843) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.050459556281567,0.031396772712469,-0.176293477416039,0.086416788399220,0.086185775697231,0.076620154082775,0.144038766622543,-0.085469312965870,0.029180319979787,-0.192104160785675,0.015838542953134,0.009038875810802,0.046829733997583,0.057641230523586,-0.011070950888097,-0.005926413461566) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.019801916554570,-0.086460493505001,0.037428781390190,-0.056813783943653,0.002775160828605,0.174415975809097,-0.075091913342476,-0.012839877977967,-0.159663036465645,-0.145228117704391,0.104772284626961,0.087775297462940,0.100086301565170,0.119366988539696,0.084394246339798,-0.086716555058956) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.020626865327358,-0.004986884072423,0.059470135718584,0.041983630508184,-0.003045608755201,0.044855590909719,0.128599792718887,0.035294946283102,0.057660687714815,0.024455314502120,0.079126194119453,-0.241563156247139,0.075614929199219,0.030104225501418,0.076263479888439,-0.232052907347679) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.050709784030914,-0.047414645552635,0.114075094461441,-0.154386848211288,0.049260552972555,-0.007210313808173,-0.020418535917997,0.048884864896536,-0.032816428691149,-0.132382541894913,0.001338414149359,0.009118841961026,0.034301906824112,-0.052068978548050,-0.029098983854055,0.058253671973944) * MODEL5_texOff(vec2(1,1));
res += mat4(0.117553703486919,-0.019149119034410,0.115833602845669,-0.100532881915569,-0.105771191418171,0.084635138511658,-0.112086035311222,0.058320764452219,-0.160318091511726,-0.082709558308125,-0.034013800323009,0.130242362618446,-0.263269871473312,0.028625713661313,-0.130676984786987,0.025373101234436) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.268803596496582,0.300375521183014,-0.044728826731443,-0.105791822075844,-0.041825316846371,0.018608530983329,-0.026492917910218,-0.123044803738594,-0.059243645519018,0.100656352937222,-0.270324289798737,-0.143798187375069,-0.154911994934082,0.070296853780746,-0.118371888995171,0.154624775052071) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.051718693226576,-0.075683206319809,0.012687764130533,0.101711511611938,0.067652277648449,0.129791229963303,0.057231094688177,0.185763791203499,0.091783262789249,0.076685383915901,0.041254494339228,0.157907560467720,0.031078787520528,0.021368907764554,0.059064917266369,0.014053028076887) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.019633214920759,-0.008108193054795,-0.055477660149336,-0.096742138266563,0.080082744359970,0.194665431976318,0.165668994188309,0.114348441362381,0.165062099695206,0.020346390083432,-0.006763580720872,-0.213099434971809,-0.441512644290924,-0.019604932516813,0.099673457443714,0.165684252977371) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.039917822927237,0.207348212599754,-0.115930244326591,0.108793579041958,-0.089977644383907,-0.041540510952473,0.143271848559380,0.042817950248718,-0.013700444251299,0.184111848473549,0.081764586269855,-0.001330788130872,-0.265471309423447,-0.142530038952827,-0.010663887485862,0.050532899796963) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.002434534486383,0.041769668459892,0.043742325156927,0.066385187208652,0.020949596539140,-0.012242317199707,-0.017381891608238,-0.019090533256531,-0.016149045899510,0.053282827138901,0.090615570545197,-0.037096593528986,0.122746177017689,0.057662431150675,0.138686463236809,-0.073070049285889) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.154807046055794,0.045813195407391,-0.041170768439770,0.104228563606739,0.014724472537637,-0.057382330298424,-0.017103856429458,-0.167319342494011,-0.056714795529842,-0.121389903128147,0.066963061690331,-0.067534014582634,-0.204937249422073,-0.015251769684255,-0.115922808647156,-0.040144518017769) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.160688757896423,-0.041221976280212,-0.146439552307129,0.159800097346306,-0.103635765612125,-0.155137658119202,0.011578479781747,-0.047040950506926,0.041687991470098,-0.012572871521115,-0.007394223008305,-0.057166200131178,0.027303790673614,0.065499849617481,-0.080850966274738,-0.037850167602301) * MODEL6_texOff(vec2(1,0));
res += mat4(0.062907911837101,-0.014504486694932,0.186855718493462,-0.012711643241346,-0.067396968603134,-0.031116588041186,0.083735398948193,0.036260083317757,0.005264353938401,0.037178121507168,-0.052846040576696,0.015325007028878,0.057799965143204,0.033063907176256,0.045911334455013,0.051286149770021) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.128069505095482,-0.088852427899837,-0.090500131249428,0.234461158514023) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL9
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 6_3

vec4 hook()
{
vec4 res = vec4(-0.073599167168140,-0.086720138788223,0.007198710460216,-0.104476504027843);
res += mat4(0.010347048752010,-0.174525737762451,-0.031147945672274,-0.112545184791088,-0.154719993472099,-0.083610758185387,0.188744798302650,-0.064441949129105,-0.066580571234226,0.021329602226615,-0.166781693696976,0.085921362042427,0.037597626447678,-0.072702646255493,0.058790761977434,0.053131062537432) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.268807053565979,0.103012368083000,-0.028258604928851,-0.136863097548485,-0.033626236021519,0.120340161025524,-0.116598226130009,-0.054127085953951,-0.240256130695343,0.031187444925308,-0.015571455471218,0.110772959887981,0.190341427922249,-0.101760111749172,-0.113285519182682,0.135182127356529) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.027303151786327,-0.101617865264416,0.019584845751524,-0.035165131092072,-0.140946239233017,0.177808567881584,0.230105102062225,-0.138551861047745,0.051520053297281,-0.168815419077873,0.017571618780494,-0.017928441986442,0.000098415854154,-0.080774933099747,0.058246657252312,0.059031836688519) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.038326650857925,-0.336036533117294,0.038268443197012,-0.116798289120197,-0.128660663962364,-0.050039947032928,0.187417179346085,-0.089158490300179,-0.116877809166908,0.088650353252888,0.021401606500149,-0.035135548561811,-0.087958902120590,0.071346327662468,0.037822835147381,0.059329349547625) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.104129970073700,0.157292768359184,-0.373659521341324,-0.250901639461517,0.183715045452118,-0.082340210676193,0.218031764030457,0.121548034250736,0.019833358004689,-0.153708994388580,-0.168027117848396,-0.283137500286102,-0.145272642374039,0.059861652553082,-0.052755717188120,0.053514119237661) * MODEL1_texOff(vec2(0,0));
res += mat4(0.021093398332596,-0.137264698743820,0.183188453316689,0.030998034402728,0.046097766608000,-0.013712221756577,-0.248751878738403,-0.111096054315567,-0.052026875317097,-0.017338965088129,0.222053945064545,-0.004409953951836,-0.050355292856693,-0.068962402641773,0.116059944033623,0.048920691013336) * MODEL1_texOff(vec2(0,1));
res += mat4(0.004514985717833,0.003180197905749,0.078809306025505,0.035900712013245,0.031818632036448,0.082327015697956,0.009567210450768,0.014519107528031,0.098159730434418,0.132663816213608,-0.074012577533722,-0.105658113956451,-0.030338186770678,0.165207430720329,-0.005966410040855,-0.049285195767879) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.147003784775734,0.108627282083035,0.101097255945206,0.109530195593834,-0.005568720400333,-0.183958426117897,0.085385784506798,0.093114070594311,-0.011471185833216,-0.100163690745831,-0.180277809500694,-0.071134731173515,-0.037098187953234,0.154086962342262,-0.058005683124065,-0.054211258888245) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.047333259135485,0.078728199005127,0.137946814298630,0.026138748973608,-0.083595111966133,0.010270069353282,-0.151537269353867,-0.067557282745838,0.029285179451108,-0.053592640906572,0.165160194039345,-0.103706315159798,-0.052805885672569,-0.009799223393202,0.081354334950447,-0.027351897209883) * MODEL1_texOff(vec2(1,1));
res += mat4(0.108908757567406,0.028192393481731,0.034430705010891,0.110274702310562,-0.148103758692741,-0.011229271069169,-0.187872990965843,0.107312969863415,0.036429092288017,-0.056088831275702,-0.072999939322472,-0.034136500209570,0.209692642092705,0.035335745662451,-0.178289026021957,0.162922531366348) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.072596773505211,0.051410187035799,0.006060131359845,0.027776710689068,0.055338475853205,-0.214428052306175,-0.004555413965136,0.218726396560669,-0.124725930392742,0.201042324304581,-0.129410654306412,0.035500988364220,0.244349524378777,-0.018468022346497,0.005595112685114,0.067424364387989) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.038456920534372,-0.049705661833286,0.133610218763351,0.009510561823845,0.086297594010830,-0.168120101094246,0.157387554645538,-0.048121102154255,-0.058367062360048,-0.252768933773041,-0.040035717189312,-0.071916274726391,0.008673941716552,-0.001383894705214,0.075572930276394,-0.007636742200702) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.055851370096207,-0.236144885420799,0.035077296197414,0.032852660864592,-0.103540644049644,0.139119237661362,-0.213491320610046,0.120731800794601,-0.178692325949669,0.061793796718121,-0.014930773526430,-0.018210927024484,0.021264137700200,0.156928345561028,0.036971218883991,0.048948608338833) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.125189170241356,0.168109700083733,-0.050518311560154,0.187683671712875,-0.171246483922005,0.185630112886429,0.205986157059669,-0.146775603294373,-0.097243823111057,0.126018017530441,0.272989392280579,-0.007943580858409,0.217328161001205,0.032146658748388,-0.097618252038956,0.212434217333794) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.096599817276001,0.138266235589981,0.186245054006577,0.110776454210281,0.214762359857559,0.001483757281676,-0.292663484811783,-0.163390398025513,-0.002912649186328,-0.109846465289593,0.113629080355167,0.002135800197721,0.172233924269676,-0.086944259703159,-0.114755474030972,-0.058990832418203) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.147423371672630,-0.020734913647175,0.034952189773321,0.062777936458588,0.085034407675266,-0.111511476337910,-0.200181528925896,0.098271720111370,-0.023398479446769,0.023451305925846,-0.259261131286621,0.009959912858903,-0.036549758166075,0.058096166700125,-0.017578743398190,0.079253837466240) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.121330685913563,0.119619749486446,-0.012832949869335,0.027193862944841,0.017805173993111,0.035852253437042,0.012853822670877,0.055574260652065,0.216769292950630,-0.068598352372646,-0.330555886030197,-0.065339319407940,-0.152027800679207,0.204936027526855,0.086821258068085,0.157833769917488) * MODEL2_texOff(vec2(1,0));
res += mat4(0.045515563338995,-0.043003801256418,-0.223769068717957,-0.054183416068554,-0.047956924885511,0.051652781665325,-0.024708338081837,-0.015215829946101,-0.044275652617216,0.136741399765015,-0.113397128880024,0.060245245695114,-0.085990972816944,0.049633022397757,0.008309208787978,0.039018739014864) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.165566891431808,-0.036714572459459,0.030942466109991,0.063230514526367,0.126058459281921,0.113515935838223,-0.076523110270500,-0.058938667178154,0.221283003687859,0.001303773489781,0.110373757779598,-0.096068054437637,-0.119843937456608,-0.210097283124924,-0.214991256594658,0.036737367510796) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.229648306965828,-0.153352394700050,0.030920367687941,-0.038967251777649,0.272561818361282,-0.063323341310024,-0.004945709370077,0.014122579246759,0.004425685387105,0.141362205147743,0.029599133878946,-0.117325060069561,0.047311019152403,-0.098478071391582,-0.072791017591953,0.153222411870956) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.012155401520431,0.022161843255162,0.009998635388911,0.013077144511044,0.022057240828872,-0.092178873717785,0.076018795371056,0.054401971399784,-0.143656596541405,0.162880048155785,0.150551453232765,-0.035716887563467,0.062100887298584,-0.056271959096193,-0.228736042976379,-0.105222277343273) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.203579679131508,0.038018483668566,0.137997165322304,-0.072881929576397,0.373865127563477,0.346568346023560,0.073166318237782,-0.003901755437255,0.016966955736279,-0.040782537311316,0.127004548907280,-0.086163036525249,0.010272599756718,-0.151731401681900,-0.025046037510037,0.073294647037983) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.112310752272606,0.114649146795273,-0.015255676582456,0.175950020551682,0.073780328035355,0.171707272529602,0.207384929060936,-0.029582638293505,-0.033722069114447,-0.108852341771126,-0.008520425297320,0.025202488526702,-0.127793028950691,0.212216302752495,0.241801336407661,0.351619243621826) * MODEL3_texOff(vec2(0,0));
res += mat4(0.221869423985481,0.179443195462227,0.094196908175945,0.022242344915867,0.117595113813877,0.074793845415115,0.063995741307735,0.048326261341572,-0.242237165570259,0.202389642596245,-0.132993906736374,0.115640245378017,-0.029273880645633,0.094200722873211,-0.316327154636383,-0.066286504268646) * MODEL3_texOff(vec2(0,1));
res += mat4(0.003365008160472,-0.068511933088303,-0.036976840347052,-0.006350467912853,-0.080112546682358,0.188930526375771,0.133041858673096,0.104475021362305,-0.026442470028996,-0.045837845653296,0.062586590647697,0.078638017177582,0.048469070345163,-0.180820435285568,0.008896499872208,0.004997442942113) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.080123811960220,-0.023621950298548,0.135187193751335,0.017638348042965,0.006212817039341,0.199517577886581,0.115535095334053,-0.038265004754066,0.112594619393349,0.039897128939629,-0.172690719366074,-0.090860895812511,0.071603961288929,-0.091241776943207,-0.053580690175295,0.112294539809227) * MODEL3_texOff(vec2(1,0));
res += mat4(0.317097187042236,-0.040447026491165,0.018302109092474,-0.019483912736177,0.043744128197432,-0.006534748710692,-0.010968362912536,-0.060996327549219,0.169500261545181,-0.020672123879194,-0.234914019703865,0.021081984043121,-0.027537479996681,0.091555863618851,-0.207842588424683,0.002089476678520) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.036492031067610,0.068830639123917,-0.117394067347050,-0.090098783373833,-0.144485041499138,0.078159295022488,-0.064011916518211,-0.018832731992006,0.058049254119396,-0.065581902861595,0.143776938319206,0.041617512702942,0.202558383345604,0.047041542828083,-0.188990235328674,0.051584780216217) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.179585084319115,-0.088821627199650,0.083244107663631,0.106778971850872,-0.449558287858963,-0.093900397419930,0.077787511050701,-0.017413550987840,0.009896859526634,0.186096563935280,0.056160438805819,0.008796821348369,0.082892738282681,0.051052991300821,-0.114942230284214,0.051117878407240) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.028912002220750,0.158543333411217,-0.235946744680405,-0.112515076994896,-0.080566734075546,-0.139058038592339,-0.115060664713383,-0.096388444304466,0.067998312413692,0.076105631887913,-0.029821576550603,-0.033524531871080,-0.029244225472212,-0.099159307777882,0.120385624468327,0.046821434050798) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.094739258289337,0.124495275318623,-0.065807178616524,0.014145690947771,-0.009924511425197,0.269254624843597,-0.129150360822678,0.161079555749893,0.084148593246937,0.006564824841917,-0.065808892250061,0.004972420632839,0.102663666009903,-0.051381893455982,-0.064491026103497,-0.040513746440411) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.012314355000854,0.045342966914177,0.156977951526642,0.069922782480717,0.147193282842636,-0.531620562076569,0.238995403051376,-0.087512046098709,-0.052451126277447,0.065456137061119,0.006134071387351,-0.090080976486206,0.000936125929002,0.030002044513822,-0.061852678656578,0.076340474188328) * MODEL4_texOff(vec2(0,0));
res += mat4(0.058970529586077,0.020808290690184,-0.167876914143562,-0.043535750359297,-0.201881647109985,0.022978404536843,0.163514330983162,-0.167863279581070,-0.076373346149921,-0.006213185843080,-0.078465260565281,0.060323182493448,-0.042492095381021,-0.115194350481033,0.228685826063156,0.035620179027319) * MODEL4_texOff(vec2(0,1));
res += mat4(0.011364428326488,0.110871925950050,-0.009214024990797,-0.065323933959007,-0.094460442662239,0.098652638494968,-0.027124851942062,0.079384841024876,-0.181165933609009,-0.076611287891865,-0.127984762191772,-0.024131426587701,-0.199695631861687,0.071028463542461,0.125909700989723,-0.000563738401979) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.063843406736851,0.004162768833339,0.013068133033812,-0.036111146211624,0.186251312494278,-0.106200613081455,0.007937111891806,0.098848640918732,-0.058246865868568,0.046905003488064,-0.080521307885647,-0.073789723217487,-0.105017602443695,-0.021548181772232,0.075032107532024,0.051857922226191) * MODEL4_texOff(vec2(1,0));
res += mat4(0.032375238835812,-0.003266746178269,0.105295635759830,-0.030707208439708,0.061367385089397,-0.107623286545277,-0.165056213736534,-0.087923079729080,-0.100972630083561,-0.007964448072016,-0.023121468722820,-0.069639213383198,0.004541925154626,-0.007435339502990,0.120194867253304,-0.027758354321122) * MODEL4_texOff(vec2(1,1));
res += mat4(0.036681886762381,0.017560290172696,0.048460818827152,0.062506757676601,-0.108666174113750,-0.004359919577837,-0.022262470796704,-0.010080751962960,0.094976797699928,-0.115240886807442,-0.084149412810802,-0.146699845790863,-0.336005002260208,-0.117311254143715,-0.057563524693251,-0.042446095496416) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.064104080200195,0.192896991968155,0.063726618885994,-0.054852608591318,-0.504893481731415,0.158116191625595,-0.005574100185186,0.144411876797676,-0.088110044598579,-0.109130002558231,0.035637635737658,-0.022927653044462,-0.224704951047897,-0.014036783948541,0.002691589761525,-0.064430579543114) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.067454986274242,-0.144872829318047,-0.090703800320625,-0.002239911118522,-0.076345123350620,-0.173196464776993,0.032977338880301,0.089623808860779,0.003321415744722,-0.088686197996140,-0.298020541667938,-0.031723823398352,-0.067884810268879,-0.046895403414965,-0.185668542981148,-0.094088166952133) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.000259849213762,-0.041838698089123,0.087195828557014,-0.103833124041557,0.153217688202858,-0.134400799870491,0.042923334985971,-0.135940298438072,0.040332447737455,-0.201217800378799,0.255953967571259,-0.086014799773693,0.157339975237846,-0.214104920625687,-0.031725175678730,0.084701143205166) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.016461679711938,0.040052693337202,0.076622076332569,0.105481460690498,0.275115519762039,-0.108463622629642,-0.015475201420486,-0.276683479547501,-0.105600342154503,0.221208304166794,0.034956131130457,0.126099184155464,0.025825694203377,0.013657446950674,-0.061936277896166,0.104368411004543) * MODEL5_texOff(vec2(0,0));
res += mat4(0.061470583081245,-0.058514006435871,-0.266242563724518,-0.108115762472153,0.054455582052469,-0.211524024605751,0.006732085254043,0.109450116753578,0.166986927390099,0.023945111781359,-0.360920399427414,-0.176616296172142,0.001864057965577,0.091234356164932,0.010131148621440,-0.015936436131597) * MODEL5_texOff(vec2(0,1));
res += mat4(0.030691320076585,0.072409577667713,0.021095845848322,0.004856316838413,-0.038366608321667,-0.018303897231817,-0.032692149281502,0.106315858662128,-0.021315203979611,-0.127159297466278,0.029739219695330,-0.029364649206400,-0.068341515958309,0.002728264080361,0.072045110166073,0.055546950548887) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.023810282349586,0.116275228559971,0.120645187795162,0.098417237401009,-0.021018858999014,-0.016515208408237,0.029469903558493,0.058273699134588,-0.056122515350580,0.081061981618404,0.088376022875309,-0.007970287464559,-0.100291818380356,0.102880105376244,0.074437789618969,-0.018332123756409) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.098986312747002,0.079825647175312,-0.137034580111504,0.016746722161770,0.038310796022415,-0.063689365983009,0.030087862163782,-0.007294223178178,-0.048795148730278,0.054874811321497,0.067049339413643,-0.011037461459637,0.043248645961285,-0.021461604163051,0.059697210788727,0.011679938063025) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.060291007161140,-0.047207992523909,0.125596627593040,0.027859304100275,-0.145046666264534,-0.044812098145485,0.083361819386482,-0.188860207796097,0.063286006450653,-0.191278427839279,-0.076241850852966,-0.109967209398746,0.032761938869953,0.038126360625029,-0.111603297293186,0.105143971741199) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.082599930465221,0.223179414868355,-0.098960712552071,0.189387381076813,-0.050524726510048,-0.186015531420708,0.182880803942680,0.040871299803257,-0.081803835928440,-0.092314712703228,0.043072618544102,0.001193647040054,0.020672120153904,-0.059859380125999,-0.242685869336128,0.229077994823456) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.060738973319530,0.055297754704952,0.012290490791202,0.133888572454453,-0.182998403906822,0.218367993831635,-0.079977862536907,-0.056981798261404,-0.218576431274414,0.034362610429525,0.105159692466259,0.147169172763824,-0.030652374029160,-0.090970866382122,-0.107750788331032,0.111911341547966) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.037786860018969,0.012128236703575,0.147961512207985,-0.077031001448631,0.004080927930772,0.235267877578735,-0.011074068024755,0.075535610318184,-0.086359798908234,-0.176991939544678,0.033814139664173,0.063028931617737,0.076819069683552,0.185379952192307,-0.067231126129627,0.090020559728146) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.173156008124352,0.168312981724739,-0.050801187753677,0.181889921426773,-0.001431535347365,-0.018177308142185,0.227890595793724,-0.018091326579452,0.171454221010208,-0.041598685085773,-0.074207447469234,0.212378680706024,-0.179123535752296,0.096392177045345,-0.046376969665289,-0.297470480203629) * MODEL6_texOff(vec2(0,0));
res += mat4(0.014229753986001,-0.097493663430214,-0.029275611042976,0.018817089498043,0.105686947703362,-0.090820945799351,0.031041404232383,0.056742563843727,-0.093737326562405,-0.093346804380417,-0.006154547911137,0.181853234767914,-0.092799410223961,-0.069313816726208,0.120346017181873,0.088856272399426) * MODEL6_texOff(vec2(0,1));
res += mat4(0.071113988757133,0.087334789335728,0.073100164532661,-0.039737526327372,0.043207108974457,0.017386846244335,-0.100017122924328,0.015772812068462,0.023910271003842,-0.086525477468967,-0.034721318632364,0.074308648705482,-0.028481712564826,0.003129718359560,-0.095542967319489,0.017831869423389) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.040114119648933,-0.100154034793377,-0.019640386104584,-0.177239760756493,-0.018154604360461,-0.229907825589180,0.034620452672243,-0.041892156004906,-0.092473335564137,0.043364152312279,0.054237950593233,0.027170782908797,0.119798205792904,0.008575039915740,-0.170164763927460,0.080397754907608) * MODEL6_texOff(vec2(1,0));
res += mat4(0.073211267590523,-0.150509268045425,0.209112122654915,0.005996483378112,-0.078646920621395,-0.064329005777836,-0.041855912655592,-0.037435814738274,0.016443056985736,0.011594169773161,0.136513218283653,-0.006707846652716,0.018228966742754,-0.061852477490902,-0.005603991448879,0.084639802575111) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.136987701058388,0.259687632322311,0.083422809839249,-0.092560641467571) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL10
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 6_4

vec4 hook()
{
vec4 res = vec4(-0.026187181472778,-0.063794180750847,0.067671380937099,-0.035455919802189);
res += mat4(-0.041934300214052,0.143047600984573,-0.021266939118505,-0.040190659463406,-0.043588913977146,0.237709432840347,-0.036509830504656,-0.143213257193565,0.071712359786034,-0.003787219058722,-0.068006090819836,-0.039893031120300,0.033843673765659,-0.122239559888840,0.028312781825662,0.022336514666677) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.066502451896667,-0.054205670952797,0.044216983020306,0.184364423155785,-0.014742577448487,-0.071201212704182,-0.102977134287357,-0.057023398578167,-0.206113129854202,0.065497457981110,-0.122601568698883,-0.035596139729023,0.083214119076729,0.021757660433650,0.068909384310246,-0.023307099938393) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.003236077493057,-0.122054487466812,-0.019281012937427,0.025054953992367,-0.108671680092812,-0.007150504738092,-0.046693831682205,0.011262189596891,0.049696680158377,0.008291862905025,-0.002142175100744,0.052519246935844,-0.083451472222805,-0.025082880631089,-0.050559051334858,0.004124927800149) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.084241092205048,-0.078619614243507,-0.073201201856136,-0.055959895253181,-0.032681878656149,-0.113952308893204,-0.085830666124821,0.032735675573349,0.197052076458931,-0.019227582961321,-0.219850420951843,-0.024120032787323,0.041458535939455,-0.012226614169776,0.053589075803757,-0.012712365947664) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.065015599131584,0.136497795581818,-0.111990414559841,0.358802676200867,-0.091120630502701,-0.035916391760111,-0.117778651416302,-0.028688419610262,0.066770620644093,0.082186646759510,-0.088104061782360,0.025762801989913,-0.127652958035469,0.062409665435553,0.232530951499939,-0.324454843997955) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.022071069106460,-0.083409070968628,-0.034251790493727,0.107175216078758,-0.099200107157230,0.032818235456944,-0.011314149014652,0.155840441584587,0.077394217252731,-0.094261057674885,-0.013030960224569,0.076073363423347,0.151457414031029,0.002242249902338,-0.046103738248348,-0.017154924571514) * MODEL1_texOff(vec2(0,1));
res += mat4(0.034981422126293,-0.121250487864017,0.020399114117026,-0.065559901297092,-0.007191802375019,-0.063528470695019,0.034262083470821,0.097545973956585,0.108430460095406,-0.044487193226814,0.067805871367455,0.066395051777363,0.107444562017918,-0.044717602431774,-0.006572982296348,0.079194501042366) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.093054555356503,-0.077093578875065,-0.008035255596042,-0.087976396083832,-0.222861677408218,-0.222841069102287,-0.064465381205082,0.064282730221748,0.034910269081593,0.151135832071304,0.338561564683914,0.244240671396255,0.062073364853859,0.165773734450340,-0.075709104537964,0.267749667167664) * MODEL1_texOff(vec2(1,0));
res += mat4(0.123690970242023,0.052664782851934,-0.013849283568561,-0.055093999952078,-0.117491133511066,-0.100541323423386,0.005157688166946,0.082690447568893,-0.056622080504894,-0.000258269341430,0.053421046584845,0.058244563639164,0.084968306124210,0.011809498071671,0.058803170919418,-0.048887740820646) * MODEL1_texOff(vec2(1,1));
res += mat4(0.070392683148384,0.051197167485952,0.055637236684561,-0.001278284820728,0.055031921714544,-0.084034688770771,-0.017768274992704,0.033812623471022,0.026911171153188,-0.093046262860298,-0.039736032485962,-0.013632949441671,-0.093114972114563,0.007303897291422,0.058829564601183,0.036441668868065) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.079228878021240,-0.021009385585785,-0.034953441470861,-0.029083022847772,-0.111622758209705,0.050000410526991,-0.001350281410851,-0.013785744085908,-0.266574382781982,0.040638651698828,-0.082796171307564,-0.157009974122047,0.074046567082405,-0.175672739744186,0.183249160647392,0.092243060469627) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.026819683611393,-0.064725838601589,-0.023975610733032,0.006876104511321,0.021198706701398,-0.000766713113990,-0.015478111803532,0.135628327727318,-0.031219128519297,-0.012195560149848,-0.039219871163368,0.028568552806973,0.000096414572909,-0.073626078665257,0.078873001039028,0.039820611476898) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.027018068358302,-0.008352429606020,0.024766420945525,-0.024329330772161,0.010424674488604,-0.001620609546080,0.037560269236565,0.044349726289511,-0.181181520223618,0.053012285381556,-0.011455641128123,-0.063342317938805,0.005127570126206,-0.109670951962471,0.156219601631165,-0.139310732483864) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.186546742916107,0.051891092211008,-0.030620412901044,-0.255409061908722,-0.019963592290878,0.098833009600639,-0.180163383483887,-0.033054213970900,0.173628777265549,-0.080294266343117,-0.078705854713917,-0.062727011740208,-0.065589845180511,-0.115238316357136,0.127382084727287,-0.118060044944286) * MODEL2_texOff(vec2(0,0));
res += mat4(0.091946579515934,-0.020451463758945,-0.068351373076439,-0.138578653335571,0.076587930321693,0.153862312436104,0.031817730516195,0.109094463288784,-0.019932288676500,0.028916465118527,0.075681820511818,-0.096390292048454,0.066429361701012,0.038767408579588,0.126173138618469,-0.130977630615234) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.053318843245506,0.107026696205139,-0.026890300214291,-0.017669716849923,0.056229867041111,0.065426334738731,-0.015807744115591,-0.032104570418596,-0.053386863321066,-0.119132623076439,-0.009177946485579,0.033015549182892,0.053853135555983,0.012967601418495,0.061976663768291,-0.086912542581558) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.068256452679634,0.041851658374071,-0.139969244599342,-0.001536371652037,0.085380099713802,-0.029787963256240,0.039478383958340,-0.067572198808193,-0.089823521673679,-0.161326527595520,0.126159995794296,0.017532091587782,-0.095495499670506,-0.119296468794346,-0.085410408675671,-0.157840847969055) * MODEL2_texOff(vec2(1,0));
res += mat4(0.055635403841734,0.065217539668083,0.007942968979478,0.020566428080201,-0.053227156400681,-0.006685195956379,-0.082673072814941,-0.031241632997990,-0.140572637319565,-0.071825884282589,-0.000556859071366,0.054189987480640,0.114317931234837,-0.133427903056145,0.008675322867930,-0.202834144234657) * MODEL2_texOff(vec2(1,1));
res += mat4(0.021026376634836,-0.159408375620842,-0.004936337005347,0.052905756980181,-0.090282239019871,0.110216416418552,-0.012017986737192,0.055557146668434,0.061218839138746,0.046549640595913,0.010984467342496,0.065151453018188,0.006729145999998,0.256054669618607,-0.037581287324429,0.012080799788237) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.064834363758564,-0.046799257397652,0.091866403818130,0.106063999235630,0.099476382136345,-0.120992004871368,0.089506044983864,0.137654393911362,0.007743047550321,0.102988049387932,0.024433230981231,0.060761746019125,-0.165908485651016,0.053072858601809,0.037988647818565,-0.025780543684959) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.139169126749039,-0.040897235274315,0.003123596310616,0.025982387363911,-0.103288955986500,-0.046483080834150,0.050543643534184,0.152989685535431,0.012097343802452,0.102555051445961,0.026893408969045,-0.043549437075853,0.096529692411423,-0.017039794474840,0.037374336272478,-0.031214235350490) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.069504059851170,-0.027477117255330,0.096044570207596,0.032925523817539,0.039487600326538,-0.032537579536438,-0.101219885051250,-0.073563784360886,-0.179945841431618,-0.092287369072437,0.010857068933547,0.040619894862175,-0.264504641294479,0.109587386250496,-0.003564626211300,-0.092850655317307) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.075504660606384,0.026864167302847,-0.058429419994354,-0.102316185832024,-0.028296062722802,0.079677157104015,0.079760529100895,-0.095327779650688,-0.013434884138405,-0.016683986410499,-0.050363857299089,-0.039182025939226,-0.015300969593227,0.081528641283512,0.018640745431185,-0.146020084619522) * MODEL3_texOff(vec2(0,0));
res += mat4(0.178351387381554,-0.023506686091423,0.014721302315593,-0.124068520963192,0.047819636762142,0.196632072329521,0.095725461840630,-0.043935585767031,0.015333344228566,0.023666732013226,0.063915081322193,0.067234322428703,0.050677228718996,-0.027317723259330,0.123767867684364,-0.054907653480768) * MODEL3_texOff(vec2(0,1));
res += mat4(0.079488575458527,-0.205916300415993,0.042348336428404,-0.044115647673607,-0.049352131783962,-0.219057813286781,-0.118772663176060,-0.110057957470417,-0.030998529866338,-0.085116378962994,-0.063708864152431,-0.135760828852654,-0.070270396769047,-0.173942297697067,0.018558789044619,-0.075782112777233) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.122209556400776,-0.142447039484978,-0.214140638709068,-0.035249292850494,-0.056242622435093,-0.133727923035622,-0.251132935285568,-0.033541362732649,-0.042410023510456,0.108366906642914,-0.046098217368126,0.040180556476116,-0.043627645820379,0.042952951043844,0.080799542367458,-0.048087824136019) * MODEL3_texOff(vec2(1,0));
res += mat4(0.272369742393494,-0.099762797355652,-0.027776742354035,-0.080034069716930,0.026843816041946,-0.208488151431084,0.051881544291973,-0.047139842063189,-0.139096587896347,-0.011359933763742,0.089055716991425,-0.026743516325951,-0.077957108616829,0.003522933693603,0.009237548336387,0.064920328557491) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.146217077970505,0.148635074496269,-0.024345237761736,0.115618132054806,-0.025913098827004,-0.080166175961494,0.019539559260011,0.074268750846386,0.005822648759931,0.127643764019012,0.071105912327766,0.068622447550297,0.069738037884235,-0.025240920484066,-0.076407372951508,0.016605628654361) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.094558447599411,-0.132742658257484,-0.007637794129550,-0.037345688790083,0.149920061230659,0.145526334643364,-0.046147976070642,-0.036762315779924,0.112850695848465,0.144129246473312,0.072007760405540,0.194404557347298,-0.159773930907249,0.015617653727531,0.009240689687431,-0.060951542109251) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.113874725997448,0.025327198207378,-0.030141059309244,0.057862404733896,-0.133942127227783,0.175227597355843,-0.065930642187595,0.060463920235634,-0.142358168959618,-0.042612038552761,0.057857941836119,-0.027881504967809,-0.050053354352713,-0.014376320876181,0.100200876593590,0.176430955529213) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.002043538959697,0.109098747372627,0.031072175130248,-0.015099192038178,0.060992982238531,-0.207730770111084,0.036855407059193,0.047990962862968,0.048267289996147,-0.078112892806530,0.113632909953594,-0.079048268496990,-0.025078998878598,0.099640987813473,-0.058462228626013,-0.173066511750221) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.018874043598771,0.086042739450932,-0.067074157297611,0.026863787323236,-0.201048552989960,0.156291529536247,0.017976902425289,0.119689069688320,-0.034531846642494,0.110109977424145,0.213055327534676,0.022699465975165,-0.185053601861000,0.076049208641052,-0.353982359170914,0.081435866653919) * MODEL4_texOff(vec2(0,0));
res += mat4(0.018352428451180,0.037760801613331,0.047672893851995,0.024839429184794,0.251908540725708,0.237583383917809,-0.052380129694939,-0.133450984954834,-0.072504341602325,-0.069070205092430,-0.063794732093811,-0.029065204784274,0.048881571739912,0.043514728546143,0.017798382788897,-0.065683260560036) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.037520546466112,-0.224614098668098,0.022382268682122,-0.065287850797176,-0.092692896723747,-0.014790506102145,-0.020475072786212,0.120277784764767,0.021970760077238,0.088717095553875,-0.016223495826125,-0.071167312562466,0.006408648565412,-0.030473168939352,0.024230444803834,-0.086868077516556) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.009191837161779,0.106637984514236,0.071429565548897,-0.023674184456468,0.007459893357009,-0.136917829513550,0.057294193655252,-0.095418609678745,-0.062718003988266,0.121047966182232,0.016113309189677,0.059963721781969,0.071331977844238,-0.020983075723052,-0.054839611053467,-0.161159455776215) * MODEL4_texOff(vec2(1,0));
res += mat4(0.009263370186090,0.130666479468346,0.000459568575025,-0.035352274775505,0.031506698578596,-0.051794957369566,0.110561147332191,0.029876790940762,0.050922881811857,-0.123321607708931,-0.108923956751823,0.072008602321148,0.035348564386368,-0.048237282782793,-0.050754662603140,-0.003660172456875) * MODEL4_texOff(vec2(1,1));
res += mat4(0.001919605652802,0.104029156267643,0.070100560784340,-0.037281412631273,-0.021088019013405,0.040630422532558,-0.010177161544561,-0.055644057691097,0.099793717265129,0.051952809095383,-0.039847232401371,0.035385191440582,-0.014221794903278,0.136867538094521,-0.039668668061495,0.106652759015560) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.105857014656067,0.239243105053902,-0.052807264029980,-0.003295696573332,-0.155896037817001,0.116328462958336,-0.090072579681873,-0.166826188564301,-0.106523722410202,0.140538826584816,-0.077266536653042,0.082948200404644,0.042590964585543,-0.136012673377991,-0.114809982478619,0.084510259330273) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.049172703176737,0.115429200232029,0.002792329993099,-0.057091277092695,0.113562740385532,0.036282278597355,-0.037563238292933,-0.018188297748566,0.110979847609997,0.050047609955072,0.062579572200775,0.022180413827300,0.054015006870031,0.100112818181515,-0.077413052320480,0.064395695924759) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.009887337684631,0.062740147113800,0.046214103698730,0.014688163064420,-0.123850680887699,-0.069425560534000,0.014939022250473,0.014227871783078,0.033191222697496,0.045298501849174,-0.051944002509117,-0.047813422977924,-0.036196500062943,-0.047818202525377,-0.077813528478146,-0.047690026462078) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.166660577058792,0.058301519602537,0.022506564855576,-0.088840469717979,0.197591647505760,-0.183730408549309,0.309961646795273,0.500239849090576,0.064604401588440,0.112611271440983,-0.204217702150345,0.058453675359488,-0.211210399866104,-0.071281999349594,0.047832701355219,-0.230235084891319) * MODEL5_texOff(vec2(0,0));
res += mat4(0.154492840170860,0.425031065940857,-0.028639534488320,-0.330351918935776,-0.075002081692219,0.007709386758506,-0.045204184949398,0.033757608383894,-0.076260283589363,0.171811535954475,0.236526191234589,0.095302216708660,-0.028265418484807,0.011710044927895,-0.090623065829277,0.118079617619514) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.070885367691517,0.007971364073455,0.023223130032420,-0.007401293143630,-0.098214089870453,-0.005796135403216,-0.041486062109470,-0.060535695403814,0.039301671087742,-0.121644325554371,0.036394681781530,-0.060653120279312,0.090582475066185,-0.126182898879051,-0.007307943422347,-0.077086627483368) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.103928402066231,-0.134892702102661,0.095945484936237,-0.056948997080326,-0.070881105959415,-0.048878215253353,-0.452419102191925,-0.123144842684269,0.088635332882404,-0.138281449675560,0.094600714743137,-0.022908903658390,0.082028992474079,-0.090877421200275,-0.036106124520302,-0.106178700923920) * MODEL5_texOff(vec2(1,0));
res += mat4(0.072776019573212,-0.008671119809151,-0.099728740751743,0.080961816012859,0.081167414784431,0.063376642763615,-0.140131577849388,-0.068472750484943,-0.044619150459766,-0.012253111228347,0.081113845109940,-0.016324739903212,0.082042336463928,0.093576014041901,0.007927575148642,0.066059954464436) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.074282221496105,0.210183411836624,-0.024092288687825,-0.000404379679821,0.027858559042215,0.092994742095470,0.041759077459574,-0.030495781451464,0.125340268015862,-0.028995959088206,0.085652224719524,-0.033605970442295,0.048515837639570,-0.015801748260856,0.004194586537778,0.027636358514428) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.139110788702965,-0.051940828561783,-0.024611620232463,-0.083990164101124,0.148186817765236,0.104563802480698,0.049590460956097,0.123091652989388,0.101620770990849,-0.118445903062820,-0.042551524937153,-0.109446652233601,0.014862906187773,0.063409991562366,0.036373674869537,-0.030267186462879) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.064118243753910,-0.019408650696278,-0.050928540527821,-0.072537109255791,0.020869081839919,-0.110333666205406,-0.015751559287310,-0.058296415954828,-0.006473918911070,0.086398467421532,-0.007793670985848,-0.142193973064423,0.006400682963431,-0.077082380652428,-0.015949510037899,-0.033930309116840) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.096722453832626,-0.028187220916152,-0.128072962164879,0.104953415691853,0.096645198762417,-0.026785861700773,0.037551127374172,-0.106169268488884,-0.159627646207809,-0.021900763735175,0.074742481112480,-0.090719401836395,0.086777880787849,-0.054158326238394,0.055874783545732,-0.040706660598516) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.125763505697250,0.084493055939674,-0.114364698529243,0.063778653740883,-0.054020930081606,-0.092427484691143,0.117969259619713,0.151100590825081,-0.063723042607307,-0.261675298213959,-0.008523724041879,-0.259476870298386,-0.087316423654556,-0.053706523030996,0.014623422175646,0.090974763035774) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.015610335394740,-0.016691619530320,-0.162567257881165,0.041943870484829,0.047959502786398,-0.116366185247898,-0.054258886724710,-0.252553462982178,0.059116262942553,-0.082926958799362,0.013590488582850,-0.265282720327377,0.089456416666508,0.012303416617215,-0.237141579389572,0.242046236991882) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.064795553684235,0.144127085804939,-0.075434833765030,0.136081203818321,0.010559351183474,0.099945642054081,-0.106501914560795,0.054848726838827,-0.012942426837981,-0.093901582062244,0.070796586573124,-0.048824537545443,0.042898554354906,0.045409087091684,0.022623337805271,0.016818860545754) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.027554592117667,0.182778224349022,-0.038712035864592,0.013724409975111,0.066829986870289,-0.035080987960100,0.015626437962055,0.177894175052643,-0.128697991371155,-0.132651716470718,-0.132101565599442,-0.025505688041449,0.001077546272427,0.074337214231491,0.070712067186832,-0.024111278355122) * MODEL6_texOff(vec2(1,0));
res += mat4(0.100996203720570,-0.051579777151346,-0.075391486287117,0.103986307978630,0.028013313189149,-0.021454595029354,-0.014049365185201,0.041455201804638,0.090767838060856,0.011680751107633,-0.087793931365013,-0.011990970931947,0.142298057675362,0.007797982543707,-0.034243986010551,-0.022264320403337) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.569946229457855,0.222920522093773,0.862149477005005,0.483995229005814) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL11
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 6_5

vec4 hook()
{
vec4 res = vec4(-0.049305710941553,-0.274434328079224,-0.094494670629501,0.061025310307741);
res += mat4(0.043099816888571,0.019103366881609,0.100642673671246,-0.035863202065229,0.170336261391640,-0.074662849307060,0.145980030298233,-0.066361792385578,-0.066466242074966,0.066305764019489,0.108010813593864,-0.144810438156128,0.057815190404654,0.003392783692107,-0.047711864113808,0.030626166611910) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.034205269068480,0.070612825453281,-0.017150143161416,-0.162479281425476,0.015077053569257,-0.101732194423676,0.104109816253185,0.027854157611728,0.103961579501629,0.033790387213230,0.050930980592966,0.039322573691607,-0.057178582996130,0.056122437119484,-0.081521116197109,0.033112511038780) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.022045694291592,0.026870459318161,0.220996245741844,-0.007830781862140,0.079004183411598,-0.006917131133378,0.039033174514771,0.024736057966948,-0.006910180207342,0.012593587860465,0.029762672260404,0.010831085965037,-0.032343868166208,-0.007012558635324,0.018243236467242,-0.070950366556644) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.034409247338772,-0.137966722249985,0.248791217803955,-0.017617760226130,0.024144010618329,0.008230235427618,0.185618057847023,-0.071398317813873,0.036401718854904,0.075597546994686,0.059229083359241,-0.290044754743576,-0.079806491732597,0.010601120069623,-0.077419415116310,0.130741998553276) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.216117143630981,-0.237530246376991,-0.460242837667465,-0.140259638428688,0.056931272149086,0.352169305086136,-0.101858280599117,0.127775132656097,-0.044711977243423,-0.076450325548649,-0.213931605219841,-0.110795252025127,0.055261913686991,0.032995492219925,0.248075097799301,0.046280350536108) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.016163837164640,0.024061609059572,-0.137545272707939,0.047257345169783,-0.057776384055614,-0.138507515192032,0.105724193155766,0.085659444332123,0.072244413197041,0.161900833249092,-0.178663879632950,-0.048571519553661,-0.022715287283063,-0.052180014550686,-0.257785201072693,0.020776791498065) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.011711306869984,0.091373264789581,0.066432908177376,-0.053082238882780,-0.131498605012894,0.090482965111732,-0.006718736607581,0.009935447946191,-0.150429517030716,0.008242557756603,-0.061708409339190,-0.060488775372505,-0.067366115748882,-0.282551378011703,0.073908492922783,0.016513045877218) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.029449347406626,0.014353227801621,-0.126927569508553,-0.076316580176353,-0.241214454174042,0.256179928779602,-0.034114554524422,0.028011918067932,-0.046386428177357,-0.043420501053333,-0.090043775737286,-0.085639268159866,-0.049588542431593,0.042729366570711,-0.029042026028037,0.049028132110834) * MODEL1_texOff(vec2(1,0));
res += mat4(0.066011786460876,-0.035863470286131,0.012303142808378,-0.012232116423547,-0.222866371273994,-0.121005386114120,0.064150117337704,0.021571839228272,-0.022820647805929,0.047392267733812,-0.049330681562424,-0.012364950031042,-0.141842246055603,-0.003791553433985,0.055349484086037,-0.024691047146916) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.059040855616331,-0.020546257495880,0.024778271093965,-0.080587588250637,-0.094891265034676,-0.040003221482038,-0.091258928179741,0.025433458387852,-0.095052890479565,-0.018683416768909,-0.065729901194572,0.017708305269480,-0.142868533730507,-0.099816158413887,-0.036137901246548,0.158895790576935) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.168994978070259,0.050814442336559,0.185135528445244,0.014453239738941,-0.064886048436165,0.258127540349960,-0.053138077259064,-0.016873432323337,0.061955869197845,0.035007063299417,0.125006347894669,0.068464137613773,-0.132552802562714,0.074099279940128,-0.031448263674974,0.065277658402920) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.023710325360298,-0.015546182170510,-0.005634144414216,-0.059758488088846,-0.164433047175407,0.042750731110573,-0.134171396493912,0.009649289771914,0.011253318749368,-0.077167697250843,-0.042702194303274,0.069249361753464,-0.083095252513885,0.118641875684261,0.152167767286301,0.013834329321980) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.286848962306976,0.073891527950764,-0.093783952295780,-0.070844501256943,0.004811745136976,-0.197607427835464,-0.056587263941765,0.163780167698860,-0.026563931256533,-0.084485523402691,0.079716801643372,-0.030039418488741,0.196931704878807,0.108238816261292,0.058117143809795,-0.102993078529835) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.349217116832733,0.034037385135889,0.309152424335480,-0.152685150504112,0.095169968903065,0.165146589279175,0.129563793540001,-0.306006431579590,-0.145509690046310,-0.132474690675735,-0.144659370183945,0.053770042955875,0.198420032858849,0.198185592889786,0.159341797232628,-0.094256050884724) * MODEL2_texOff(vec2(0,0));
res += mat4(0.023519543930888,-0.043084017932415,0.043795190751553,-0.091395564377308,0.361221760511398,-0.364085614681244,-0.273005962371826,-0.001317984773777,0.013466810807586,-0.187326505780220,-0.214003607630730,-0.010000157169998,0.028105657547712,0.017310809344053,-0.127718180418015,-0.037740204483271) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.211515188217163,0.089201107621193,-0.090053305029869,-0.062992230057716,-0.005602004472166,-0.120542250573635,-0.053297325968742,0.045599773526192,0.063527509570122,-0.042832586914301,0.090721830725670,0.004954492673278,0.079254180192947,0.080612294375896,-0.017165204510093,-0.017277732491493) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.002611705334857,-0.090122997760773,-0.057858642190695,0.070981927216053,-0.056759394705296,0.041442304849625,0.218602389097214,-0.012334379367530,0.002510475460440,-0.073040790855885,0.082427591085434,-0.064416922628880,0.036216020584106,0.171252116560936,-0.022545268759131,-0.013258665800095) * MODEL2_texOff(vec2(1,0));
res += mat4(0.040983133018017,0.016898697242141,-0.098171941936016,0.039017081260681,0.056106269359589,0.006521121598780,0.133072793483734,0.057092551141977,0.164334878325462,0.023938613012433,-0.215446606278419,0.026417035609484,-0.106625512242317,0.164757847785950,-0.057485647499561,-0.032676387578249) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.104630865156651,0.131315901875496,-0.076412677764893,0.133652538061142,0.124017506837845,-0.009584381245077,-0.022598631680012,0.010419288650155,-0.005954683758318,-0.051205456256866,-0.059320297092199,-0.031985834240913,-0.004539689049125,-0.117763809859753,-0.050708431750536,-0.006372448988259) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.091978572309017,0.233095154166222,-0.110585436224937,-0.009004999883473,-0.081013478338718,0.063917025923729,-0.105058170855045,0.074978388845921,-0.026426460593939,0.109246253967285,-0.076078101992607,-0.167031586170197,0.049525719136000,-0.202079117298126,-0.043675597757101,-0.056390777230263) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.046130735427141,0.138758853077888,0.033819120377302,-0.009279051795602,-0.135964021086693,-0.064767055213451,-0.042956087738276,0.007430771365762,-0.132716357707977,-0.043112058192492,0.089586675167084,-0.000782173941843,0.005830871406943,0.005411037709564,-0.131795644760132,0.006287223659456) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.034378748387098,0.205107882618904,0.085679739713669,-0.014406288973987,0.109819367527962,-0.193190619349480,0.038573302328587,0.081333801150322,-0.056948434561491,-0.227039858698845,0.175715848803520,-0.099478870630264,-0.054602947086096,0.030044555664063,-0.046536237001419,-0.073329873383045) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.081949986517429,0.060884013772011,0.176030084490776,-0.085374213755131,0.287313669919968,-0.225455820560455,0.068751297891140,-0.009524567052722,0.031889148056507,-0.000203854026040,-0.164689958095551,-0.010244515724480,0.110410213470459,-0.126213610172272,0.104370065033436,0.021274259313941) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.073000669479370,-0.135067209601402,-0.107462525367737,0.008092245087028,0.502372562885284,-0.036088325083256,-0.137900263071060,0.027930181473494,-0.016442257910967,0.040041703730822,0.096182897686958,0.011388000100851,0.056066889315844,-0.053033165633678,-0.014077364467084,0.032286617904902) * MODEL3_texOff(vec2(0,1));
res += mat4(0.108504958450794,0.122624345123768,0.044440042227507,0.023652341216803,-0.029000815004110,0.086351893842220,-0.031876359134912,0.025776503607631,0.109848685562611,-0.061186607927084,0.032529205083847,0.027141723781824,-0.251240521669388,0.039189908653498,0.149460509419441,0.013421689160168) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.029181273654103,-0.002943939995021,-0.009039240889251,0.063633091747761,0.090647935867310,0.007275897078216,-0.035799365490675,0.158017039299011,0.104458905756474,0.162540599703789,-0.027526769787073,-0.043876096606255,-0.037841554731131,0.040104083716869,0.084241770207882,-0.078081481158733) * MODEL3_texOff(vec2(1,0));
res += mat4(0.164767071604729,0.031814686954021,0.038899749517441,-0.016032727435231,0.164987489581108,-0.057945381850004,-0.222460687160492,0.046435341238976,-0.165591672062874,-0.060215458273888,-0.054338008165359,0.050134576857090,-0.042880017310381,-0.055264778435230,0.056639239192009,-0.049256831407547) * MODEL3_texOff(vec2(1,1));
res += mat4(0.153110340237617,-0.085949368774891,0.124061599373817,-0.008475963026285,-0.015142302960157,-0.013651352375746,-0.080448135733604,0.034998930990696,0.097202554345131,0.051835846155882,-0.117149002850056,0.007291226182133,0.092099614441395,0.078931346535683,0.131448060274124,0.018848655745387) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.064790233969688,0.066851437091827,-0.067303620278835,-0.032570343464613,-0.147651478648186,-0.002292219083756,-0.033694185316563,0.016076726838946,-0.121222995221615,0.060123339295387,0.193897217512131,-0.014060419052839,0.116501636803150,-0.094206757843494,-0.164595410227776,0.026362296193838) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.084796361625195,0.029734386131167,0.022394414991140,0.064134307205677,0.006201752927154,-0.033729579299688,0.084700495004654,-0.015697941184044,0.029198300093412,0.122967824339867,0.052343569695950,-0.047474838793278,-0.003200987586752,-0.073158346116543,0.069088362157345,-0.080000780522823) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.060140974819660,-0.062475886195898,0.078358225524426,-0.012667411006987,-0.067500419914722,0.142874166369438,-0.259614855051041,0.155654922127724,0.094299890100956,0.069422595202923,-0.083973132073879,-0.000649711349979,0.173289567232132,0.083795391023159,0.239679113030434,-0.051845833659172) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.114130124449730,0.052888371050358,-0.146093294024467,0.092262670397758,0.171744272112846,0.250002890825272,0.127720847725868,-0.015525748953223,0.155756667256355,0.069904476404190,0.263765126466751,0.035070378333330,0.135555997490883,0.290261238813400,0.029278729110956,-0.176767960190773) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.049225967377424,-0.064113005995750,0.176577880978584,0.058898489922285,0.012640222907066,-0.151238724589348,-0.088414236903191,0.013190597295761,0.124831318855286,0.055159695446491,0.105406694114208,0.066669642925262,-0.061774585396051,0.107497952878475,-0.311242341995239,-0.001282221055590) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.423339366912842,0.042025774717331,0.025614449754357,0.076222233474255,0.044500309973955,0.152994915843010,-0.246400862932205,0.043218262493610,0.030149059370160,0.025741396471858,-0.172782331705093,0.025946637615561,-0.090109892189503,0.032535374164581,0.129163637757301,0.014195485040545) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.069578915834427,-0.025743577629328,0.075367428362370,-0.012137584388256,-0.285692721605301,0.095073208212852,0.052737064659595,0.027463154867291,0.031261183321476,-0.033049665391445,0.202194094657898,0.003074777312577,-0.206430271267891,-0.055273745208979,-0.159201174974442,0.030061606317759) * MODEL4_texOff(vec2(1,0));
res += mat4(0.045150864869356,-0.044292256236076,0.197173893451691,-0.022186113521457,0.097715154290199,-0.049766231328249,0.056869752705097,-0.026620050892234,-0.069642223417759,-0.119497217237949,0.122526407241821,0.058350097388029,-0.081110149621964,-0.076686054468155,-0.033456366509199,0.023312116041780) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.073767706751823,0.138021528720856,-0.035859119147062,0.004304233938456,0.031022077426314,-0.118195317685604,0.031607959419489,-0.137565895915031,0.138693571090698,-0.118349790573120,0.059382040053606,-0.040567662566900,0.112398304045200,-0.100184589624405,-0.054068632423878,-0.213851004838943) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.053138110786676,0.154491677880287,0.049189325422049,-0.000752396765165,0.140134274959564,-0.005822231527418,-0.021680930629373,-0.023402106016874,0.048607204109430,0.078084461390972,-0.222342699766159,0.024887867271900,0.013561253435910,0.097561150789261,-0.134150415658951,-0.133416935801506) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.048778716474771,-0.139653384685516,0.018735447898507,-0.056084845215082,0.015200622379780,-0.045153468847275,-0.031616616994143,-0.029241975396872,-0.061301052570343,-0.185812219977379,-0.101069755852222,0.114379674196243,-0.058540549129248,-0.014897429384291,-0.079870074987411,-0.052860859781504) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.055986147373915,0.125856101512909,0.010531742125750,0.036516677588224,0.049665562808514,-0.222746238112450,0.035184472799301,-0.411019444465637,-0.068449497222900,-0.099643602967262,0.218248888850212,-0.058940019458532,-0.175203263759613,-0.030857220292091,0.087958529591560,-0.012453384697437) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.053331460803747,-0.026008024811745,0.121225439012051,0.034418545663357,-0.282994955778122,-0.009925746358931,-0.064728215336800,0.360223531723022,-0.045333065092564,-0.014883426949382,-0.225804984569550,0.342456847429276,-0.177983641624451,-0.054570104926825,-0.003195866243914,-0.033215723931789) * MODEL5_texOff(vec2(0,0));
res += mat4(0.105859503149986,-0.125535562634468,-0.031474336981773,-0.062412016093731,-0.025974268093705,-0.045864697545767,0.115473583340645,-0.139762297272682,0.000073962321039,-0.102135397493839,0.037016909569502,0.081298656761646,-0.081702582538128,-0.002567418850958,0.226108759641647,0.018688656389713) * MODEL5_texOff(vec2(0,1));
res += mat4(0.052360504865646,0.038220781832933,0.016338719055057,-0.019916489720345,0.013543584384024,0.017232054844499,0.052113875746727,-0.073477275669575,-0.043337155133486,0.041326038539410,0.078152731060982,0.014101131819189,-0.226547256112099,0.122148729860783,0.025751501321793,0.074269734323025) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.067635968327522,0.107941664755344,0.005010390654206,-0.029752925038338,0.074034646153450,0.126605898141861,-0.082050628960133,0.007998160086572,-0.305841386318207,0.071512438356876,-0.085305839776993,-0.010521425865591,-0.193086624145508,-0.052530303597450,0.027540558949113,0.119448006153107) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.281546533107758,-0.019630901515484,-0.065846212208271,-0.026209238916636,0.057208150625229,0.031092571094632,-0.080027252435684,0.017216259613633,-0.205197036266327,-0.121784083545208,0.069629043340683,-0.036390095949173,0.001514525851235,0.049482144415379,-0.092140883207321,-0.003684926312417) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.000661975762341,0.109320901334286,-0.001658370369114,-0.044157169759274,0.077893704175949,0.095983915030956,0.077102221548557,-0.079120270907879,-0.034123063087463,0.086523912847042,-0.128016620874405,-0.070284254848957,-0.106653958559036,-0.134575918316841,0.013535175472498,0.089865505695343) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.143098041415215,0.058967400342226,0.188052698969841,-0.013685187324882,0.022514939308167,0.088312916457653,-0.226811259984970,0.012656714767218,-0.115768134593964,-0.009364577941597,-0.061896137893200,-0.028893928974867,-0.131796061992645,-0.008389127440751,-0.174466863274574,0.069176740944386) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.117033310234547,-0.064943984150887,0.246537968516350,-0.048199094831944,0.101725235581398,0.192594870924950,0.043769873678684,-0.072789497673512,0.099085241556168,-0.173588141798973,-0.006938714068383,0.000972995709162,-0.093402072787285,-0.015202580019832,0.052004050463438,-0.042124301195145) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.006577521096915,0.083659388124943,0.047347709536552,0.044016487896442,-0.093793250620365,-0.057917207479477,-0.000935624178965,0.018756629899144,-0.301954180002213,0.153099104762077,0.044651426374912,-0.038700941950083,0.190190583467484,-0.181399911642075,-0.030621601268649,0.208157747983932) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.040741119533777,0.064560078084469,0.047295548021793,0.012983553111553,0.132144466042519,-0.070758782327175,-0.019916821271181,0.132305487990379,-0.096573613584042,0.168375417590141,-0.023896971717477,-0.046091370284557,0.148730322718620,-0.104449473321438,0.196285665035248,-0.086473785340786) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.017431756481528,0.104535765945911,0.183846592903137,0.000999538577162,0.024562051519752,0.013422163203359,0.016703737899661,0.092559486627579,0.172481596469879,0.045983582735062,0.112274669110775,-0.075822114944458,-0.003791743656620,0.254740685224533,-0.142953231930733,-0.149483352899551) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.062764905393124,-0.039958782494068,-0.016438955441117,0.118244476616383,-0.033594813197851,0.050747718662024,-0.068839676678181,0.026507794857025,0.073169440031052,0.020687468349934,0.093273304402828,0.011406823992729,0.116168253123760,0.023289823904634,0.061585299670696,0.015581881627440) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.228839457035065,-0.079612538218498,0.002935894764960,-0.001040086150169,-0.038067411631346,0.122243173420429,0.007561141159385,-0.019196413457394,0.110244460403919,-0.043773803859949,0.166878283023834,0.104243464767933,0.010741214267910,-0.046764455735683,0.152296468615532,-0.037921473383904) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.057288859039545,-0.001512321177870,-0.139780923724174,-0.014549981802702,-0.119991935789585,0.007594985887408,0.063065946102142,-0.005429428536445,-0.018864730373025,-0.016087545081973,-0.047701142728329,0.055541358888149,-0.185874089598656,0.053352788090706,-0.154959067702293,-0.022949099540710) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.045533303171396,0.087435968220234,-0.114298708736897,0.773069977760315) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL12
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 6_6

vec4 hook()
{
vec4 res = vec4(-0.070872105658054,-0.102327339351177,0.021418269723654,0.144332230091095);
res += mat4(0.102717041969299,-0.039184298366308,-0.000485407392262,0.055092930793762,0.092902958393097,-0.113658785820007,-0.330318778753281,-0.043246574699879,0.083715893328190,-0.007881316356361,0.045031510293484,-0.160261258482933,-0.272585839033127,-0.048033140599728,0.007896978408098,0.173379540443420) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.095939114689827,0.095447875559330,0.021693838760257,0.093691177666187,0.088739775121212,-0.014992390759289,-0.367861330509186,-0.009111843071878,-0.020439943298697,-0.030521422624588,-0.017533689737320,-0.018498105928302,0.076795138418674,0.111093789339066,-0.172734349966049,0.097139701247215) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.049953091889620,-0.026224935427308,-0.003494226839393,-0.064061179757118,-0.100793860852718,-0.032172441482544,-0.053072750568390,-0.149416878819466,0.018837591633201,0.033220596611500,-0.021789412945509,0.116886258125305,0.082928836345673,-0.045689173042774,0.016352191567421,-0.143705129623413) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.123717054724693,0.023916354402900,-0.202923104166985,-0.133293822407722,-0.071037128567696,0.180872663855553,-0.085448905825615,0.130613043904305,-0.043608333915472,0.029384611174464,0.134821087121964,-0.144140675663948,0.137364760041237,-0.246352627873421,-0.084438838064671,-0.051009878516197) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.057903163135052,-0.187754765152931,0.124227985739708,-0.132945820689201,0.033033076673746,-0.281099498271942,0.032302614301443,-0.087474390864372,0.034626685082912,-0.047858014702797,-0.003553403308615,0.133270695805550,0.025497674942017,0.025259334594011,-0.193212717771530,-0.058732934296131) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.040632300078869,-0.128108441829681,-0.171251967549324,-0.101955994963646,0.044017765671015,-0.012839447706938,0.030359536409378,0.158886641263962,-0.065196745097637,-0.030366100370884,-0.212069243192673,0.027055503800511,-0.099097631871700,0.004724578000605,-0.016038555651903,-0.149175629019737) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.175106704235077,-0.015101467259228,-0.085897713899612,-0.044159196317196,-0.227469146251678,0.014984857290983,-0.183449789881706,-0.143842726945877,0.000638231053017,0.045469608157873,0.037131287157536,-0.152230381965637,0.061492726206779,0.106250293552876,-0.145618259906769,0.103992365300655) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.146747082471848,-0.328939348459244,-0.053711485117674,0.042409699410200,-0.065608203411102,-0.075679473578930,0.013922393321991,0.091216802597046,0.007835473865271,0.183828279376030,0.062603503465652,-0.048474803566933,-0.016519725322723,0.138857692480087,-0.120007596910000,0.028036324307323) * MODEL1_texOff(vec2(1,0));
res += mat4(0.064176216721535,-0.119739487767220,0.016402786597610,0.010838627815247,0.220878168940544,0.123692676424980,-0.090133503079414,-0.013692503795028,-0.026952119544148,0.011702826246619,-0.092984512448311,0.048125173896551,-0.081826709210873,0.046851135790348,-0.086338132619858,-0.021407902240753) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.117001838982105,0.032171156257391,-0.095459006726742,0.002843763679266,-0.106677681207657,0.112975344061852,0.160387352108955,-0.061438754200935,-0.082729578018188,-0.047977276146412,-0.039871189743280,-0.204197406768799,-0.028861885890365,0.066440567374229,-0.207274138927460,0.202263966202736) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.178200304508209,-0.105918154120445,0.027959721162915,-0.158915087580681,-0.063187867403030,0.069128550589085,-0.020905347540975,0.069798335433006,0.089576274156570,-0.088164083659649,-0.104833088815212,-0.133025825023651,-0.049507699906826,0.053568370640278,-0.104863815009594,0.126909568905830) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.059269044548273,0.017019791528583,0.196753770112991,0.149816453456879,0.051232874393463,0.021028075367212,0.096518829464912,0.058960746973753,0.027942379936576,-0.081134766340256,-0.174352258443832,-0.109632164239883,-0.016842734068632,-0.015612765215337,-0.161809712648392,-0.037688583135605) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.020752049982548,0.039279352873564,-0.031254682689905,0.141076773405075,-0.045865274965763,0.040741086006165,0.087311372160912,-0.155146613717079,-0.041170563548803,-0.001126927323639,-0.217258214950562,-0.025026580318809,-0.066935181617737,-0.211184918880463,-0.403260767459869,0.162175714969635) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.127560466527939,0.198522686958313,0.010207621380687,0.057359665632248,0.149460777640343,-0.017194261774421,-0.238903045654297,-0.216858178377151,0.075224749743938,0.075467094779015,-0.181386619806290,-0.041714325547218,-0.030213557183743,-0.149020060896873,-0.312940984964371,-0.001882264274172) * MODEL2_texOff(vec2(0,0));
res += mat4(0.088843390345573,0.081879965960979,0.075894966721535,-0.151188120245934,-0.097708635032177,-0.007037305738777,0.241194859147072,0.215377330780029,0.026004457846284,-0.108796216547489,-0.134670346975327,0.037362068891525,-0.220713287591934,0.019188804551959,-0.061426229774952,0.140417873859406) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.086721688508987,0.124856002628803,-0.063385471701622,0.119317628443241,-0.033344335854053,-0.023817736655474,0.056791517883539,-0.094569727778435,0.012384955771267,0.020011983811855,-0.072426401078701,-0.029750326648355,-0.272016257047653,0.003919218201190,-0.014325450174510,0.070116445422173) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.108684137463570,0.078802049160004,-0.102792628109455,0.015487515367568,-0.250667750835419,-0.159931987524033,-0.013487362302840,-0.037183646112680,-0.141975641250610,0.204958006739616,-0.430716216564178,-0.275150239467621,0.011550087481737,-0.015830609947443,-0.385516792535782,0.202539682388306) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.181241899728775,0.078374482691288,0.052703835070133,0.039321266114712,0.219395697116852,0.244874447584152,-0.009168740361929,0.092406779527664,-0.050476819276810,0.173512160778046,-0.053623899817467,-0.113183796405792,-0.070595905184746,-0.089146859943867,0.002072266768664,0.184069082140923) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.157872408628464,0.067519716918468,-0.132945269346237,0.152841269969940,-0.228382736444473,-0.051402155309916,0.000932812865358,-0.022233758121729,0.062353145331144,-0.013592945411801,0.027415717020631,-0.095624230802059,-0.043191108852625,-0.021725419908762,0.194193392992020,0.022760082036257) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.009168675169349,0.084908969700336,-0.021485488861799,0.074932746589184,-0.114800348877907,0.252340376377106,-0.176073521375656,0.131504490971565,-0.021179439499974,-0.073581561446190,0.121934160590172,0.165875419974327,-0.085383094847202,-0.057182349264622,0.124356530606747,-0.166661858558655) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.004154566209763,-0.077541433274746,0.035676140338182,-0.007616378366947,0.232191860675812,0.110436774790287,-0.062148675322533,-0.065031595528126,0.150284871459007,0.009507864713669,-0.105063885450363,0.078070841729641,-0.112613417208195,-0.028451958671212,0.176112338900566,0.002929859329015) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.093421548604965,-0.211620315909386,-0.275385230779648,-0.009798323735595,0.188496962189674,0.032823104411364,0.020544644445181,-0.101840719580650,-0.014552430249751,-0.001572305802256,-0.072132453322411,-0.195470586419106,0.041077699512243,0.001484761480242,0.012070223689079,0.104263275861740) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.055021557956934,-0.239874988794327,0.180114299058914,-0.068903967738152,-0.073069766163826,0.057422656565905,-0.142633050680161,0.018902085721493,0.016136387363076,-0.033077981323004,0.143293991684914,0.098429568111897,0.043179232627153,-0.013249508105218,-0.011566449888051,-0.174236148595810) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.078953579068184,-0.066027835011482,0.152033478021622,0.153484880924225,-0.105076290667057,0.083122335374355,0.052367612719536,-0.150169417262077,0.066827751696110,0.055241554975510,-0.004558483604342,-0.092108882963657,-0.003645051037893,0.045413967221975,0.178242325782776,0.099635310471058) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.037551622837782,-0.041974786669016,-0.230237066745758,0.103425286710262,-0.170580804347992,0.289666652679443,-0.268197417259216,-0.115507066249847,-0.007853747345507,0.040815912187099,-0.121721044182777,-0.063717834651470,-0.173568159341812,-0.097257420420647,-0.099448554217815,0.008490399457514) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.036563392728567,-0.109449431300163,0.059127222746611,0.066279619932175,0.213421717286110,0.102435275912285,-0.115372814238071,-0.042357105761766,-0.027986893430352,-0.088446550071239,0.103797599673271,-0.153004989027977,-0.150447741150856,-0.042728636413813,0.230561807751656,0.008694585412741) * MODEL3_texOff(vec2(1,0));
res += mat4(0.128340274095535,-0.002378709847108,0.129405766725540,0.207003563642502,0.044819690287113,0.070637881755829,-0.021000023931265,-0.014330526813865,-0.149546086788177,-0.057022690773010,-0.084066636860371,-0.045719612389803,0.168840065598488,0.030703868716955,-0.040388770401478,0.020453283563256) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.010641688480973,-0.061005305498838,0.008707314729691,0.039613198488951,-0.209013178944588,0.004666809458286,0.038620263338089,0.038069531321526,-0.014798879623413,0.073720559477806,0.112119257450104,0.159930676221848,0.014587838202715,-0.052440267056227,-0.003970044665039,-0.004116408526897) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.028748413547873,-0.012185013853014,-0.063808210194111,-0.084202527999878,0.013305712491274,0.016598150134087,0.003333742031828,0.082988955080509,0.033511761575937,0.142664611339569,0.114356800913811,0.036270186305046,-0.041437216103077,0.000354657939170,-0.004554806277156,0.121456027030945) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.034690644592047,-0.067929059267044,0.151548013091087,0.083155311644077,0.005059608723968,-0.093096010386944,0.042435031384230,-0.184845492243767,0.022059220820665,0.109542444348335,0.000982768717222,-0.040239065885544,0.002383016748354,-0.011757980100811,-0.160356551408768,-0.037338286638260) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.264453470706940,-0.212515875697136,-0.182972088456154,-0.018027918413281,-0.062392678111792,0.021214619278908,0.321782559156418,-0.090285621583462,-0.038773506879807,0.068600378930569,0.121413446962833,0.017969964072108,0.112578198313713,-0.072748728096485,-0.054082393646240,-0.000563152134418) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.230768069624901,-0.119925238192081,0.059126861393452,-0.239744186401367,-0.025359680876136,0.016724584624171,-0.111656531691551,0.105515643954277,0.021689910441637,0.107653550803661,-0.071026474237442,-0.093908324837685,0.143781945109367,-0.067728832364082,0.054368022829294,0.221250131726265) * MODEL4_texOff(vec2(0,0));
res += mat4(0.169073581695557,-0.060957059264183,0.164640396833420,0.190447971224785,0.047109119594097,-0.012045918032527,-0.057578030973673,0.102774880826473,-0.017675472423434,-0.022724907845259,-0.030036976560950,0.077795535326004,-0.185016870498657,0.014977496117353,-0.075238592922688,-0.110034279525280) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.008709276095033,0.145277202129364,0.146655321121216,-0.093843601644039,0.101012594997883,0.013916660100222,0.110591471195221,-0.114183731377125,0.085046403110027,0.169456660747528,0.119712866842747,0.136560350656509,-0.120219774544239,0.162431642413139,-0.002952338429168,-0.036014508455992) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.158775985240936,-0.105665765702724,0.147842496633530,-0.057221759110689,0.068826466798782,-0.061469826847315,0.044745478779078,0.128142610192299,0.028645252808928,0.173045724630356,0.116492733359337,-0.117402046918869,0.042015429586172,-0.153437480330467,-0.005391283426434,-0.067147098481655) * MODEL4_texOff(vec2(1,0));
res += mat4(0.139036983251572,-0.000267897761660,0.002966839354485,-0.109262712299824,-0.204716846346855,0.272431880235672,0.165409743785858,-0.114181064069271,-0.020077513530850,0.074613973498344,-0.098359994590282,0.117570698261261,-0.007328048814088,0.036189157515764,0.083970606327057,-0.060363214462996) * MODEL4_texOff(vec2(1,1));
res += mat4(0.043391909450293,0.027151098474860,0.077522091567516,0.052826832979918,0.090138413012028,-0.033940471708775,-0.024443050846457,-0.130835920572281,0.080611638724804,-0.045217346400023,0.165221497416496,-0.113374546170235,0.057647660374641,-0.217458814382553,0.008999310433865,-0.283875823020935) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.304063022136688,-0.097778141498566,-0.105430297553539,-0.017134852707386,-0.079510249197483,-0.011940659023821,-0.028518443927169,-0.030320430174470,-0.036477044224739,-0.065101616084576,0.137971088290215,0.017331989482045,-0.120669387280941,-0.098896071314812,0.001504940213636,-0.232307285070419) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.165926501154900,0.012032853439450,0.031590394675732,-0.122660897672176,-0.040129840373993,0.064707942306995,-0.020527599379420,0.067378021776676,-0.177058532834053,-0.072598300874233,0.395991623401642,0.157660633325577,0.036588277667761,0.030941717326641,-0.086958378553391,0.079407110810280) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.273670375347137,-0.055291995406151,-0.022479215636849,-0.075843639671803,0.032041531056166,0.030215540900826,-0.005236485973001,0.230244547128677,0.074377983808517,-0.008783537894487,-0.030798589810729,0.099729068577290,0.234296008944511,-0.050987828522921,-0.066319487988949,-0.131547525525093) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.223585441708565,0.143334165215492,0.017267413437366,0.292109280824661,-0.155845731496811,0.331128865480423,0.021255629137158,0.054209552705288,0.170192688703537,0.132648169994354,0.277095675468445,-0.037397760897875,-0.125291958451271,0.063500247895718,0.015845376998186,0.053664881736040) * MODEL5_texOff(vec2(0,0));
res += mat4(0.107977330684662,0.136436834931374,0.036000758409500,-0.076299041509628,0.012995533645153,0.028459331020713,-0.121558703482151,-0.001112729543820,0.009734422899783,0.050676416605711,0.204264640808105,0.188720285892487,0.085919998586178,-0.080279514193535,0.004426347557455,-0.097130864858627) * MODEL5_texOff(vec2(0,1));
res += mat4(0.234353229403496,-0.009063652716577,-0.102895855903625,0.032485462725163,-0.205407232046127,0.133900880813599,0.006686275824904,-0.025578597560525,-0.022204771637917,-0.013908072374761,-0.070985265076160,0.055891811847687,0.071517832577229,0.229767113924026,-0.036646906286478,0.211820885539055) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.068718887865543,0.202382534742355,0.086212277412415,-0.126001700758934,0.105418205261230,-0.150937691330910,-0.077532581984997,0.159413442015648,-0.131149157881737,-0.065582431852818,0.137694358825684,0.000329361064360,0.009570536203682,0.240768507122993,0.125195041298866,0.063016213476658) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.006554511375725,0.188503339886665,0.149662807583809,-0.013607336208224,-0.013407591730356,-0.075510561466217,0.056070450693369,0.039327476173639,0.241605103015900,-0.041287198662758,-0.046299625188112,0.049687460064888,0.071337036788464,0.003752263495699,0.045799974352121,-0.152315795421600) * MODEL5_texOff(vec2(1,1));
res += mat4(0.191504061222076,-0.004003423731774,0.076597221195698,0.085510797798634,-0.099657475948334,-0.038596116006374,-0.183461442589760,0.181770682334900,0.015856713056564,-0.018057433888316,-0.184948906302452,-0.049713093787432,-0.117754481732845,0.052692301571369,-0.045679181814194,0.018212130293250) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.104823917150497,0.050599053502083,-0.059233050793409,-0.010474836453795,0.061517462134361,0.197183594107628,0.088602662086487,0.079719401896000,0.056807998567820,0.045474190264940,-0.193645268678665,0.185836747288704,-0.068033710122108,0.109906725585461,-0.020398041233420,0.224458947777748) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.084403738379478,0.046264208853245,0.266780138015747,-0.080908134579659,-0.072437651455402,0.016259059309959,-0.008222516626120,-0.187853440642357,-0.028571957722306,0.013189652934670,-0.040988497436047,-0.186116456985474,-0.016999093815684,0.098713375627995,-0.216585591435432,0.045644886791706) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.081629402935505,0.047509167343378,0.150997161865234,0.062888793647289,-0.130707710981369,0.029029561206698,0.036309670656919,-0.095984019339085,0.082423508167267,0.060137551277876,-0.156848654150963,0.145286098122597,-0.041337918490171,-0.025994820520282,0.128519773483276,-0.137869730591774) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.124860137701035,-0.017903983592987,-0.003041225252673,-0.001463690423407,0.210690408945084,-0.176325216889381,-0.026424689218402,0.045272760093212,0.142398640513420,0.178807750344276,-0.230055212974548,0.136402964591980,0.072581820189953,-0.327599674463272,-0.012148415669799,-0.211889281868935) * MODEL6_texOff(vec2(0,0));
res += mat4(0.091055653989315,0.054591111838818,-0.016779216006398,0.073606118559837,-0.226822465658188,-0.049001015722752,0.215168043971062,-0.176228761672974,-0.004181205760688,0.182287901639938,0.128740727901459,-0.005861216224730,-0.038666907697916,-0.082908257842064,-0.243005812168121,-0.009311980567873) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.043015513569117,-0.014578537084162,0.296148836612701,-0.037705011665821,0.184415325522423,-0.046021893620491,0.090526320040226,-0.044697113335133,-0.151700660586357,-0.067536734044552,-0.058870032429695,0.026009267196059,0.036484334617853,0.044761080294847,-0.007878948003054,0.079223804175854) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.167794138193130,-0.167488232254982,-0.061862118542194,0.035267554223537,-0.125821173191071,0.045074664056301,0.061833061277866,-0.152038976550102,0.165283128619194,-0.107085578143597,-0.153201267123222,-0.034510370343924,-0.024205330759287,-0.119812861084938,0.011771396733820,-0.207239016890526) * MODEL6_texOff(vec2(1,0));
res += mat4(0.053638342767954,-0.221931174397469,-0.041901323944330,-0.047621592879295,0.013776495121419,0.152254760265350,0.108478493988514,0.139566317200661,-0.037300810217857,-0.127466723322868,0.186697408556938,0.025554833933711,-0.239906519651413,-0.152053833007813,0.067464299499989,-0.069486960768700) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.162431567907333,-0.252855539321899,0.004659635946155,0.101864859461784) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL1
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 7_1

vec4 hook()
{
vec4 res = vec4(0.051933303475380,-0.111447915434837,-0.345928668975830,-0.188924044370651);
res += mat4(0.119024746119976,-0.001909769256599,-0.002756384201348,0.100072555243969,-0.084800340235233,-0.098552003502846,-0.084128767251968,-0.031715895980597,-0.009393742308021,0.049965482205153,0.132829979062080,-0.006220253650099,0.097927734255791,0.031661503016949,0.018891530111432,-0.053446140140295) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.004422188270837,-0.208948165178299,-0.093831881880760,-0.072688020765781,0.031577005982399,0.077718369662762,-0.046435844153166,0.139787480235100,0.041968729346991,0.085905186831951,-0.094766683876514,0.060454841703176,-0.069665908813477,0.185810819268227,-0.035748109221458,0.006081573665142) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.000156043592142,-0.036036625504494,-0.025535270571709,-0.075871713459492,0.057017050683498,-0.105391010642052,-0.083253115415573,0.069666758179665,-0.002933511743322,0.048562601208687,0.030581388622522,-0.006011717021465,-0.073483593761921,-0.034978475421667,0.008810875937343,-0.054473239928484) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.182524919509888,0.089178368449211,-0.010939268395305,0.098879881203175,-0.145870015025139,-0.022571358829737,-0.082432329654694,-0.112224318087101,0.025868125259876,0.009669249877334,0.099970914423466,-0.164246767759323,0.088666319847107,-0.048547033220530,0.039361875504255,0.009190402925014) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.278317213058472,-0.030099237337708,-0.111726060509682,0.157142773270607,-0.001125926501118,0.066945418715477,0.141714006662369,0.088164195418358,-0.034501884132624,-0.088275618851185,0.271480500698090,-0.270400434732437,-0.020798029378057,-0.020730443298817,0.280567944049835,-0.018643340095878) * MODEL7_texOff(vec2(0,0));
res += mat4(0.002441481687129,-0.064478702843189,0.026672257110476,-0.019094424322248,-0.129638493061066,0.071970164775848,-0.038079895079136,0.040727231651545,0.098545953631401,0.096414357423782,0.114063873887062,-0.058342158794403,0.035496905446053,-0.009381286799908,-0.025128938257694,-0.007015316747129) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.090129256248474,-0.019580217078328,-0.022909663617611,-0.046695560216904,-0.055737908929586,-0.057829480618238,0.026696108281612,-0.078916266560555,0.118383720517159,-0.008253208361566,0.037135034799576,-0.014075007289648,0.076621942222118,-0.026320261880755,0.135636612772942,-0.055977150797844) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.165206342935562,-0.162276521325111,-0.119153194129467,-0.210885167121887,-0.217537462711334,0.105673640966415,0.009318765252829,-0.035695448517799,0.194369301199913,0.012276985682547,-0.014601879753172,0.173165678977966,-0.006243122275919,0.079507559537888,-0.013655445538461,-0.002138172276318) * MODEL7_texOff(vec2(1,0));
res += mat4(0.054108362644911,-0.035657245665789,-0.089108228683472,-0.000595122226514,-0.076993785798550,-0.003067424986511,-0.064300924539566,-0.009667947888374,0.068184643983841,-0.001889147562906,0.086778990924358,0.052130270749331,-0.009753627702594,0.052745800465345,-0.000915497541428,-0.003767850808799) * MODEL7_texOff(vec2(1,1));
res += mat4(0.057334609329700,-0.054857563227415,0.007525062654167,0.079758636653423,-0.117134213447571,0.139815792441368,0.022173600271344,0.029683949425817,0.027575446292758,-0.084037125110626,-0.002389703877270,-0.015480322763324,0.088039480149746,0.025890739634633,0.073851093649864,0.135779172182083) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.119893461465836,0.045559044927359,-0.006247339304537,0.076234750449657,-0.046405684202909,0.034378021955490,-0.049835775047541,-0.128561958670616,0.085664972662926,-0.052428841590881,0.076131366193295,0.035736590623856,0.030024867504835,0.067188307642937,-0.021059656515718,0.009694783017039) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.007576287258416,-0.051345355808735,0.032134622335434,0.079839095473289,-0.012860670685768,0.135273575782776,-0.016287893056870,-0.117614693939686,-0.013656397350132,-0.064489692449570,0.096338704228401,0.015077152289450,-0.043438725173473,-0.043441105633974,-0.036641329526901,-0.058679670095444) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.078420981764793,0.023771010339260,0.144375622272491,0.079836934804916,-0.163372516632080,0.200018569827080,0.043599020689726,-0.083249568939209,0.033339023590088,-0.016789102926850,0.008412442170084,0.060688722878695,0.238344684243202,-0.017917411401868,0.040822368115187,0.164088070392609) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.104202382266521,0.102612353861332,0.096408948302269,-0.103803411126137,-0.173596471548080,0.196523144841194,-0.131046578288078,-0.004411442670971,0.129732549190521,-0.053974397480488,-0.142600461840630,-0.068667292594910,-0.004719770979136,0.085070177912712,0.175905212759972,-0.337394118309021) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.210690900683403,-0.263991385698318,-0.327898323535919,-0.222116202116013,0.088430143892765,-0.061286911368370,0.107515200972557,-0.021004103124142,-0.114693947136402,0.096173912286758,0.049265403300524,-0.010073370300233,0.022697793319821,0.097559563815594,0.009597665630281,-0.004158904310316) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.051549442112446,0.022428758442402,0.057719483971596,0.005498621147126,-0.086365632712841,0.077523507177830,0.077765911817551,0.020275484770536,0.003448815783486,0.048045434057713,0.123727343976498,-0.036328695714474,0.097084745764732,0.114188119769096,0.042758330702782,-0.014846317470074) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.034021455794573,-0.110821805894375,0.007384260185063,0.009284936822951,-0.046366203576326,0.202245965600014,0.069525837898254,0.281212121248245,-0.033564269542694,-0.099780857563019,0.083066359162331,-0.279624432325363,0.172883912920952,0.070936121046543,-0.097536005079746,0.174739092588425) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.016109490767121,-0.075542226433754,-0.086562007665634,0.070794023573399,-0.140331923961639,0.072226375341415,0.052992962300777,-0.034058757126331,0.218313530087471,0.018367541953921,-0.001562471035868,-0.056032653898001,0.023593991994858,0.105466112494469,-0.006898757070303,-0.030008839443326) * MODEL8_texOff(vec2(1,1));
res += mat4(0.075128383934498,-0.086232170462608,0.002147199120373,0.064332731068134,0.200467959046364,-0.057601451873779,0.084066234529018,-0.041753824800253,-0.042876575142145,-0.122202478349209,-0.124999769032001,-0.107293933629990,0.007980772294104,0.038836739957333,-0.148200735449791,-0.015344339422882) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.159880056977272,0.111500278115273,-0.085029102861881,0.091982387006283,0.016663622111082,0.172390505671501,0.036452308297157,0.157250702381134,0.099997304379940,0.031390339136124,0.026283048093319,0.021627807989717,0.063395172357559,-0.027478776872158,0.041345871984959,0.000944145605899) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.010366369038820,-0.013944789767265,-0.083461627364159,0.007329419255257,0.023084217682481,-0.003064888529480,-0.034201059490442,0.090011671185493,0.026147082448006,-0.132823973894119,0.030727872624993,-0.011320178397000,0.052772600203753,-0.035018615424633,0.023584693670273,0.041134130209684) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.114392861723900,0.035100117325783,0.009761610068381,0.196387544274330,-0.071468420326710,0.109604798257351,0.169443458318710,0.219176784157753,0.052905872464180,-0.034182481467724,0.099843032658100,-0.007187953218818,-0.159473434090614,0.070277638733387,0.063996501266956,0.003880571806803) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.057663932442665,-0.053757444024086,0.449238657951355,0.196866065263748,0.029221020638943,0.145158514380455,-0.048276435583830,0.299204200506210,0.272085666656494,-0.054428886622190,-0.010376480408013,0.027374800294638,-0.359169036149979,-0.025042045861483,0.105102159082890,-0.004571403376758) * MODEL9_texOff(vec2(0,0));
res += mat4(0.010517323389649,-0.013982058502734,-0.132495552301407,-0.018482821062207,-0.019830234348774,0.028186341747642,-0.031935360282660,0.027706602588296,0.014717185869813,-0.115529790520668,0.137616917490959,0.268428862094879,-0.113560348749161,0.017471043393016,-0.009946905076504,-0.046380419284105) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.058060102164745,-0.071147412061691,-0.057586114853621,0.100663281977177,-0.072380281984806,-0.014681623317301,0.057234786450863,0.052770927548409,-0.131624341011047,0.022763811051846,0.002160815289244,0.012459279038012,-0.077805630862713,-0.039846032857895,0.036808423697948,-0.055059384554625) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.398256838321686,-0.031021414324641,0.025329472497106,-0.070262655615807,0.020883107557893,-0.071424812078476,-0.076556801795959,-0.165730550885201,0.191153526306152,-0.066888928413391,0.068315155804157,-0.032584115862846,-0.276245623826981,-0.034184616059065,-0.225567370653152,0.087926991283894) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.080135911703110,-0.051198840141296,0.056325465440750,0.158494859933853,0.078228555619717,-0.016091460362077,-0.126912146806717,-0.112270496785641,-0.088973790407181,-0.001635856227949,-0.025149941444397,-0.232850030064583,-0.041978310793638,-0.014104485511780,0.119547113776207,0.025724280625582) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.027585811913013,-0.124645434319973,-0.285880535840988,-0.007529556285590,0.154221877455711,0.021988542750478,0.108396284282207,0.032314669340849,0.042848788201809,-0.163365021348000,0.063278049230576,-0.008791039697826,0.006000689230859,-0.056130263954401,0.093751132488251,-0.081352256238461) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.055974550545216,-0.031335212290287,0.054627370089293,0.035325374454260,0.116002127528191,0.068011090159416,0.091518998146057,0.062072709202766,0.134613811969757,0.020833708345890,0.144434109330177,0.089172504842281,0.019380318000913,-0.257540851831436,0.046828038990498,-0.180514782667160) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.060586221516132,0.122358873486519,-0.059824772179127,0.114898331463337,0.011473721824586,0.153638884425163,0.051485110074282,0.159375518560410,0.037755768746138,0.110976591706276,0.017576664686203,0.085030719637871,0.027041804045439,0.034723155200481,-0.006212391424924,-0.032972224056721) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.034371156245470,0.076711222529411,0.009516397491097,-0.022486066445708,0.047665849328041,-0.068289123475552,0.052558671683073,0.018447304144502,-0.095425687730312,0.064277678728104,0.056582793593407,-0.060973469167948,0.030782392248511,0.040690734982491,-0.060714796185493,-0.021243413910270) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.097989849746227,-0.070245049893856,-0.033790793269873,0.044248875230551,-0.121461279690266,-0.237538978457451,0.139296025037766,0.037461642175913,-0.282809495925903,-0.215967968106270,-0.080762408673763,-0.063012197613716,-0.013261779211462,-0.193506196141243,-0.247137352824211,-0.509528696537018) * MODEL10_texOff(vec2(0,0));
res += mat4(0.034641686826944,-0.044171441346407,-0.025699723511934,0.038779567927122,0.028124220669270,0.059574317187071,0.060580465942621,-0.044541731476784,0.037923809140921,-0.002953692572191,0.032412562519312,-0.037870556116104,0.039751812815666,-0.058613859117031,0.100383102893829,-0.180837258696556) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.110814094543457,0.017000639811158,-0.053476564586163,-0.120337687432766,-0.018495401367545,-0.072935268282890,0.092662423849106,-0.050190322101116,0.020140578970313,-0.036270242184401,-0.017278151586652,-0.010270864702761,0.034970842301846,0.141155958175659,0.029756406322122,0.111225247383118) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.034547962248325,0.037196662276983,-0.030037760734558,0.060953680425882,0.169969066977501,-0.134128734469414,-0.035778842866421,-0.055515520274639,0.105172030627728,-0.037411779165268,-0.120552912354469,0.163571700453758,0.146121278405190,0.091603450477123,0.021344657987356,0.380790829658508) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.012683639302850,-0.003307981649414,-0.021599411964417,0.003085425822064,-0.009138043969870,-0.043076887726784,0.082323230803013,0.020739510655403,0.007587476633489,-0.063610807061195,-0.008917705155909,0.040205799043179,0.032778199762106,-0.071576841175556,0.034615274518728,0.149606451392174) * MODEL10_texOff(vec2(1,1));
res += mat4(0.119728751480579,-0.123141296207905,0.051144767552614,0.093473158776760,0.096299722790718,0.034870214760303,0.107741378247738,0.041798539459705,-0.018770666792989,0.119206391274929,-0.184187024831772,-0.091063991189003,-0.047308094799519,0.020970096811652,0.041553340852261,-0.012282027862966) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.183431550860405,-0.005474914796650,-0.111959517002106,0.092183396220207,0.143104061484337,0.156088829040527,0.072632595896721,0.059587985277176,-0.065788134932518,-0.091169513761997,0.117561884224415,-0.012520753778517,0.015226283110678,0.088754959404469,0.095547161996365,-0.137037098407745) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.008030374534428,-0.079288914799690,0.003708578413352,0.209807679057121,-0.000115587783512,0.032256513834000,0.055948968976736,0.054324500262737,0.032424978911877,0.053581103682518,-0.071250408887863,-0.012992060743272,-0.029360787943006,0.008162285201252,-0.062861509621143,-0.018383502960205) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.118639647960663,-0.081306271255016,-0.136242851614952,-0.086292743682861,-0.040948957204819,0.074785061180592,0.001334997708909,-0.081665888428688,0.086625643074512,0.010598778724670,-0.134923815727234,0.000293847173452,0.013539223000407,-0.012860929593444,0.142158314585686,0.082050465047359) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.242115095257759,-0.058440707623959,0.055760398507118,-0.128994107246399,0.150134876370430,-0.143944099545479,0.010116107761860,-0.350666433572769,-0.021308328956366,0.047483559697866,-0.134494841098785,0.188565701246262,0.074345007538795,-0.104761973023415,0.045349359512329,0.050174538046122) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.065751656889915,0.002073492389172,-0.087006106972694,0.028753116726875,-0.088700436055660,0.142576143145561,-0.009558111429214,0.008645760826766,0.019439538940787,-0.047920312732458,0.092821128666401,0.047185339033604,-0.124722614884377,0.084612064063549,-0.213905707001686,-0.117733649909496) * MODEL11_texOff(vec2(0,1));
res += mat4(0.148539483547211,0.015492131933570,-0.093091838061810,0.064291454851627,0.061154436320066,0.015060075558722,-0.057513091713190,-0.048095881938934,0.061163477599621,-0.074163436889648,-0.040403433144093,-0.084756106138229,-0.078620240092278,0.077705666422844,0.002179812174290,-0.024173555895686) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.163441300392151,0.030341440811753,-0.047353204339743,0.233441457152367,0.207650199532509,-0.013515049591660,-0.023031903430820,0.147695854306221,-0.014527142979205,0.010273952037096,-0.007028855849057,-0.149195060133934,-0.020546600222588,-0.021005021408200,-0.076556347310543,0.082340434193611) * MODEL11_texOff(vec2(1,0));
res += mat4(0.027528014034033,-0.042911905795336,-0.054136011749506,0.001038567512296,-0.194189608097076,0.043310429900885,0.022776640951633,0.050161361694336,-0.053056426346302,0.027825454249978,0.024440158158541,-0.023640669882298,0.004508320707828,-0.023879330605268,0.040448207408190,0.031795341521502) * MODEL11_texOff(vec2(1,1));
res += mat4(0.002317999722436,0.082481622695923,-0.092386804521084,-0.089661270380020,-0.006758254487067,-0.065924055874348,-0.144113525748253,-0.027908956632018,-0.018052374944091,-0.103368535637856,-0.161267533898354,-0.039810929447412,0.090019568800926,0.001928273472004,-0.024629000574350,-0.027837119996548) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.014719334430993,-0.002094719093293,0.190004542469978,-0.083260700106621,-0.201574787497520,-0.311882942914963,0.098299220204353,0.076853767037392,-0.154063314199448,-0.133015736937523,-0.026593742892146,-0.122947409749031,0.036443620920181,-0.128352105617523,0.252319902181625,-0.113653577864170) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.080012969672680,0.069111101329327,0.120970882475376,-0.112606331706047,0.067946270108223,-0.076708339154720,0.059338081628084,0.033494979143143,0.038520615547895,0.026187600567937,-0.044991020113230,-0.024206945672631,0.010483521968126,0.049716722220182,-0.127947092056274,0.062278188765049) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.049600943922997,0.025524973869324,0.147458672523499,0.030969724059105,-0.155827835202217,0.098486602306366,0.065517313778400,-0.057109177112579,-0.020389899611473,0.004678401630372,-0.091092675924301,0.127445146441460,0.089958705008030,-0.072936400771141,-0.063225924968719,0.081611484289169) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.017906647175550,-0.010517926886678,0.189845532178879,-0.003257474629208,0.062681019306183,0.070442445576191,-0.202528432011604,0.308474987745285,0.011073209345341,0.011349958367646,-0.264009296894073,-0.153085067868233,0.037764981389046,0.321813106536865,-0.144357651472092,0.145787760615349) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.035770505666733,-0.019394032657146,0.130561426281929,-0.148320138454437,-0.027981162071228,-0.063108406960964,0.075512520968914,0.039451885968447,-0.065998695790768,0.001175627345219,0.001448048744351,-0.131981715559959,-0.033635329455137,-0.037447795271873,0.249051660299301,0.141454800963402) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.000513746927027,-0.054909344762564,0.108937509357929,-0.063816040754318,0.012904096394777,0.026589401066303,-0.050569366663694,-0.088846884667873,-0.071382403373718,0.155180066823959,-0.081762745976448,0.011114858090878,-0.003577434923500,-0.005078471731395,-0.099559776484966,-0.016625266522169) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.121549174189568,0.090425223112106,0.136668354272842,-0.002001656452194,-0.153266787528992,-0.060317229479551,-0.024596026167274,-0.246660098433495,0.123474821448326,-0.176000699400902,-0.112661741673946,0.052900511771441,-0.000498966313899,-0.008295006118715,0.010780110955238,-0.080332182347775) * MODEL12_texOff(vec2(1,0));
res += mat4(0.113871634006500,0.043246787041426,0.173833504319191,0.146383255720139,-0.040547110140324,0.004399518948048,-0.070874899625778,-0.192149594426155,0.050269983708858,-0.087529651820660,0.011299841105938,0.032410345971584,-0.132988274097443,-0.051924519240856,0.003037754679099,-0.145404741168022) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.033137112855911,0.007046238519251,0.045447107404470,-0.002284914022312) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL2
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 7_2

vec4 hook()
{
vec4 res = vec4(0.040361534804106,-0.193800866603851,-0.083462931215763,-0.039653234183788);
res += mat4(0.058487292379141,-0.016345076262951,0.052127040922642,0.167629286646843,-0.074487499892712,0.059646934270859,-0.073689959943295,0.114445932209492,-0.026495650410652,-0.047045972198248,0.087547935545444,0.095714524388313,-0.097261533141136,0.031240249052644,-0.159230709075928,0.057483885437250) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.020261934027076,-0.000211594160646,-0.102445453405380,0.147608891129494,0.045190405100584,0.087009146809578,0.030175551772118,-0.039584808051586,0.049523137509823,0.024125818163157,0.178810536861420,0.127618417143822,0.090313181281090,-0.004549388308078,0.137922540307045,-0.090928897261620) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.024179236963391,-0.071310743689537,-0.098750509321690,-0.037541422992945,-0.039914455264807,0.048989564180374,-0.107812955975533,-0.002342441119254,0.038815136998892,0.034251034259796,0.108189426362514,0.065641768276691,0.081424497067928,0.039921656250954,0.151939421892166,-0.131307289004326) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.002214207313955,0.030069977045059,0.216637730598450,0.099533058702946,-0.191695109009743,-0.306231886148453,0.042861595749855,0.037906330078840,-0.001330459141172,0.004969790112227,-0.111711606383324,0.013827876187861,0.036998100578785,0.170610472559929,-0.047033049166203,0.016260549426079) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.135783165693283,-0.019356064498425,0.193756446242332,0.280348479747772,0.164585292339325,0.133837923407555,-0.092301122844219,0.084967114031315,0.100047402083874,-0.026418758556247,-0.292288422584534,0.136248528957367,-0.119642041623592,-0.328400254249573,0.000087709100626,-0.082114420831203) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.018911877647042,0.007557823788375,-0.162044480443001,-0.069548942148685,0.043617907911539,-0.071379363536835,0.004461262375116,-0.127480432391167,0.192531168460846,0.076654486358166,-0.038612093776464,0.072657339274883,0.027861565351486,0.082807980477810,-0.092881575226784,0.025901084765792) * MODEL7_texOff(vec2(0,1));
res += mat4(0.042137939482927,0.075215272605419,-0.123125925660133,0.092379868030548,-0.071966774761677,0.004855141974986,-0.043065417557955,0.057831678539515,0.019885845482349,0.012998828664422,-0.031927086412907,0.054877769201994,0.001200990751386,0.074127465486526,0.135468557476997,-0.032918646931648) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.096341639757156,-0.036195907741785,-0.234910830855370,0.225085988640785,-0.023997833952308,-0.074015237390995,0.103565849363804,-0.022489819675684,-0.000583686633036,-0.051086887717247,0.084366112947464,0.033973935991526,-0.060232765972614,-0.011351424269378,0.051840078085661,-0.060984641313553) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.034200921654701,0.025360517203808,0.089304350316525,-0.082864671945572,-0.007562189362943,-0.117708124220371,-0.001403552829288,0.005163910798728,-0.034262638539076,-0.005496142432094,-0.005002397578210,0.065433196723461,-0.049492884427309,-0.016241146251559,0.144345432519913,-0.029795059934258) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.007505697198212,0.103784531354904,0.145844578742981,-0.069133706390858,-0.038012485951185,0.111787758767605,0.103580497205257,0.179565548896790,-0.001014378736727,-0.017075570300221,0.000962101679761,0.053219884634018,-0.066167682409286,-0.124818362295628,0.003883879631758,0.073277175426483) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.121449843049049,0.126435846090317,-0.080883592367172,0.053953517228365,-0.009604431688786,-0.114533476531506,-0.041524104773998,0.062557861208916,0.048044782131910,-0.070903368294239,0.041031166911125,-0.082387007772923,-0.024757813662291,0.013487771153450,-0.025567308068275,0.061567425727844) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.055933978408575,0.000504591444042,-0.102727286517620,-0.066812478005886,-0.069361291825771,-0.071979120373726,-0.120305098593235,-0.004086981993169,-0.040449053049088,-0.053685843944550,-0.129920840263367,-0.027185739949346,-0.008061337284744,-0.039867192506790,0.094259738922119,0.023448752239347) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.049588847905397,-0.138081133365631,-0.101257346570492,-0.365020960569382,-0.025775967165828,-0.034125249832869,-0.178327143192291,-0.077974088490009,0.004366277251393,-0.110743388533592,0.051699668169022,-0.378880351781845,-0.114304639399052,-0.202888026833534,0.155225500464439,0.104062959551811) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.041571971029043,0.352750927209854,0.108514554798603,0.128271162509918,-0.041270475834608,-0.143405407667160,-0.220962181687355,-0.008907581679523,-0.061775363981724,-0.343649208545685,-0.041339550167322,-0.146171838045120,-0.079677365720272,0.012488968670368,-0.221768662333488,0.061069685965776) * MODEL8_texOff(vec2(0,0));
res += mat4(0.033874377608299,-0.108627811074257,0.025610644370317,0.218419551849365,0.053772058337927,0.087947078049183,-0.161823734641075,0.179066896438599,0.051704946905375,0.270718544721603,0.005340221337974,0.104955188930035,-0.008726114407182,0.117850534617901,0.043466776609421,0.075506404042244) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.021732842549682,-0.019872112199664,-0.009722723625600,-0.154321581125259,0.011868679895997,-0.009931007400155,0.055915735661983,0.143414705991745,-0.002263806294650,-0.040972724556923,0.009057300165296,-0.403669118881226,-0.059876803308725,-0.044548489153385,0.043646413832903,0.142162442207336) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.069276645779610,0.196293711662292,0.005495466757566,-0.034406356513500,-0.115997426211834,0.112446561455727,0.159305229783058,0.047623798251152,0.009481784887612,-0.032088804990053,-0.181054756045341,0.017681859433651,-0.145502716302872,0.088744588196278,0.238642126321793,0.120858207345009) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.026400044560432,0.010619949549437,0.036012161523104,0.177073284983635,0.227874934673309,0.105925932526588,-0.180864736437798,0.091306783258915,0.070345610380173,0.068305239081383,0.061252608895302,-0.055050332099199,-0.109276205301285,0.002286656294018,0.178573146462440,0.074387021362782) * MODEL8_texOff(vec2(1,1));
res += mat4(0.015245982445776,-0.015790035948157,-0.065476268529892,-0.051987964659929,-0.112140968441963,0.014137519523501,0.024946853518486,-0.131179839372635,0.053794581443071,-0.030790617689490,0.010832787491381,0.088899970054626,0.008930796757340,0.037797477096319,-0.040700774639845,0.055734071880579) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.044891312718391,-0.013670893386006,0.070795275270939,-0.067516379058361,-0.062281735241413,-0.070469938218594,0.075743190944195,-0.020542925223708,-0.017514906823635,0.048241700977087,0.006465476006269,-0.072011187672615,-0.023741181939840,-0.146609723567963,-0.119838029146194,-0.080853387713432) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.068035639822483,0.009933134540915,0.220876261591911,0.135162129998207,-0.012090138159692,-0.009863795712590,0.027451004832983,-0.007121414877474,0.049446418881416,0.059951197355986,-0.064058646559715,0.084370754659176,-0.056546580046415,-0.046948045492172,0.005241174250841,-0.057871546596289) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.002631057519466,0.008801775984466,-0.013358280062675,-0.006630667019635,0.037115607410669,0.088120967149734,0.219731852412224,-0.272233396768570,0.017121762037277,-0.084083519876003,0.058068439364433,-0.084503971040249,0.068222336471081,0.023875463753939,-0.060827288776636,-0.107124648988247) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.027644101530313,0.154348909854889,-0.056074623018503,-0.035317305475473,-0.109637603163719,-0.399676442146301,0.173170760273933,0.101587221026421,0.072859652340412,0.065762907266617,0.150899365544319,-0.137369111180305,-0.074523866176605,-0.282772988080978,0.020167520269752,0.021295271813869) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.079395070672035,-0.066988900303841,-0.123996302485466,-0.039954591542482,0.088762857019901,0.062770344316959,-0.151269689202309,0.000080684934801,0.142973750829697,0.112582817673683,0.167386457324028,0.301841884851456,0.097946114838123,0.097131915390491,-0.320744097232819,0.009731245227158) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.070717856287956,0.078587003052235,0.114407859742641,-0.014368990436196,-0.077487066388130,0.032839912921190,-0.051528334617615,-0.059201311320066,0.034981012344360,-0.057532392442226,0.042326752096415,-0.113679036498070,-0.018003668636084,-0.030366722494364,-0.009144715964794,0.166495695710182) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.206954479217529,-0.130694836378098,0.004364731721580,-0.149291202425957,0.020084511488676,-0.089560367166996,-0.238486677408218,0.138857200741768,0.097233027219772,-0.102746367454529,-0.006149730645120,0.029659859836102,-0.113708406686783,-0.201705530285835,0.097625866532326,-0.132844820618629) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.122847765684128,-0.036418687552214,-0.031310275197029,-0.018554268404841,0.080692164599895,0.015538590960205,0.044854938983917,0.001882891170681,0.071155555546284,0.048047907650471,-0.012376583181322,0.097826093435287,-0.008505187928677,0.030798088759184,-0.062192369252443,-0.090334855020046) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.030468657612801,-0.058123793452978,0.196945875883102,0.139463365077972,-0.039781525731087,0.135072484612465,0.044256348162889,-0.049986507743597,-0.067553102970123,0.004192645661533,-0.021242873743176,0.056909825652838,0.005092741921544,0.047743957489729,0.004048959352076,0.007479780819267) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.104298874735832,-0.096122361719608,0.020682686939836,0.031108815222979,0.011063812300563,0.042516648769379,0.015416957437992,-0.109822645783424,-0.037183407694101,-0.144220933318138,-0.165782600641251,-0.187709063291550,-0.019768131896853,0.104592122137547,-0.117943324148655,0.008933634497225) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.004953432828188,0.058591626584530,-0.013461283408105,0.086739860475063,0.071982622146606,0.108637928962708,0.129829809069633,0.106186322867870,0.006153165362775,0.042658451944590,-0.189787849783897,-0.050875034183264,-0.031599819660187,0.010874778032303,-0.120833769440651,-0.092484459280968) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.114332340657711,-0.053711835294962,-0.160379841923714,-0.120845764875412,0.057808857411146,0.037767201662064,-0.209228947758675,-0.010957373306155,0.010457860305905,0.011008344590664,-0.092229671776295,-0.025167109444737,-0.014608345925808,-0.397994130849838,-0.152189075946808,-0.060634166002274) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.286269903182983,-0.027914915233850,-0.023035228252411,0.129336789250374,-0.047268211841583,-0.060535944998264,-0.300592720508575,-0.138799041509628,0.323430150747299,0.039493583142757,0.058058042079210,-0.003373677143827,-0.082941450178623,0.130562946200371,-0.260749727487564,0.089911378920078) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.030654778704047,0.061952192336321,-0.226786568760872,-0.014719889499247,-0.108363740146160,-0.048915598541498,-0.091183252632618,0.151907369494438,-0.050265945494175,0.038552422076464,0.133237421512604,-0.051008034497499,-0.103049695491791,0.053411334753036,0.066959224641323,-0.178889006376266) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.006602113135159,0.078558154404163,-0.102708138525486,0.131918534636497,0.033542130142450,-0.161367163062096,-0.064603172242641,-0.014473062008619,0.075987048447132,-0.085416264832020,0.011168025434017,0.021189887076616,-0.049715153872967,-0.029949203133583,0.094219356775284,-0.023833783343434) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.041573520749807,0.053761050105095,0.170094132423401,0.070192053914070,0.038211684674025,-0.117186613380909,-0.033563293516636,0.073599070310593,-0.133327484130859,-0.099221959710121,0.153291940689087,-0.022977074608207,-0.122465230524540,-0.059677451848984,0.230039089918137,0.006516153458506) * MODEL10_texOff(vec2(1,0));
res += mat4(0.069207563996315,-0.014685962349176,0.044779594987631,-0.001943221199326,0.005282731726766,0.075466498732567,0.007711844053119,0.045002050697803,-0.052729256451130,0.103307433426380,-0.122186012566090,0.009839023463428,0.011042328551412,0.017079811543226,-0.082793839275837,-0.017967153340578) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.104704931378365,-0.307717561721802,0.079818025231361,-0.124031931161880,-0.013075659982860,0.040994692593813,0.042225960642099,-0.144812464714050,-0.021193340420723,0.180209055542946,0.042345445603132,0.190474957227707,-0.015416667796671,0.036648999899626,0.046423248946667,-0.106490626931190) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.024427339434624,-0.038994468748569,0.142758071422577,0.065585754811764,0.002062365412712,0.129311755299568,0.029663201421499,0.014110265299678,0.070732504129410,0.184886291623116,0.167608872056007,0.081987001001835,0.087536275386810,0.190564200282097,-0.046051550656557,-0.025487402454019) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.131093725562096,0.083616986870766,0.141466945409775,-0.076794721186161,0.039988942444324,-0.006842853967100,0.070119172334671,-0.031118204817176,-0.038633011281490,-0.084675371646881,0.081190116703510,0.066812038421631,-0.040336679667234,-0.001451002899557,-0.061808720231056,0.026486134156585) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.036694813519716,0.120497882366180,0.168491497635841,-0.072273969650269,-0.093295663595200,-0.153819382190704,-0.037177689373493,-0.066875517368317,0.024996191263199,0.118882194161415,-0.182186305522919,-0.002550720702857,0.151394411921501,-0.000666842097417,-0.019907612353563,-0.233583986759186) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.053368523716927,0.122221797704697,-0.124826811254025,0.017677366733551,-0.179253652691841,0.130793869495392,-0.336557507514954,-0.099792800843716,0.104013644158840,0.058874171227217,-0.220191732048988,0.190991938114166,0.119468882679939,0.442949831485748,0.188473075628281,0.142713636159897) * MODEL11_texOff(vec2(0,0));
res += mat4(0.179461717605591,-0.063932701945305,0.056504476815462,0.057880762964487,0.050523377954960,0.191825538873672,-0.211693480610847,0.041295934468508,0.011274146847427,-0.071239754557610,0.013940286822617,-0.059245277196169,-0.121870964765549,-0.210810258984566,0.110744334757328,0.010471078567207) * MODEL11_texOff(vec2(0,1));
res += mat4(0.027920087799430,0.028301749378443,0.084267087280750,0.027781803160906,-0.011939563788474,-0.011281905695796,-0.030000010505319,0.059702560305595,-0.038234520703554,0.024696094915271,0.027336070314050,0.015115566551685,-0.035369541496038,-0.037895396351814,0.090820223093033,-0.043025497347116) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.127596303820610,-0.014095092192292,0.123766265809536,0.030012477189302,-0.015300818718970,0.059530336409807,-0.019669964909554,-0.126992836594582,-0.066699445247650,0.016785062849522,0.107819415628910,0.151833489537239,-0.045832786709070,0.066710941493511,0.138079509139061,0.016716266050935) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.070832476019859,-0.017429079860449,-0.054873354732990,0.046233501285315,-0.004040985368192,0.122733190655708,-0.071317657828331,-0.118716686964035,-0.009827503003180,-0.065380662679672,0.039956156164408,0.028024218976498,-0.193625092506409,-0.051850568503141,0.037075284868479,0.033915359526873) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.017172100022435,0.016361525282264,0.045877467840910,0.090769283473492,0.091329611837864,-0.059128280729055,0.117767199873924,0.022041877731681,-0.077930256724358,-0.048462070524693,-0.103860840201378,0.066410243511200,0.000651553447824,-0.035085245966911,-0.039899025112391,0.044185236096382) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.008996256627142,0.013233049772680,-0.086363025009632,-0.081790179014206,0.255902469158173,0.063449360430241,0.286070853471756,-0.250456571578979,-0.092079125344753,0.078016825020313,-0.126426845788956,0.082719922065735,-0.093909151852131,0.068088836967945,-0.314679294824600,-0.008082533255219) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.035852421075106,-0.053484994918108,0.131571397185326,-0.080420039594173,-0.040783245116472,-0.101960889995098,0.085305690765381,0.000763206218835,-0.045960787683725,-0.113527476787567,-0.069589599967003,-0.107453338801861,-0.135715872049332,-0.036117706447840,-0.237126901745796,-0.009687806479633) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.004769410472363,0.084985069930553,-0.006102146115154,0.026331992819905,0.091199949383736,-0.133442699909210,0.133559539914131,0.016336448490620,-0.064395196735859,0.050724271684885,-0.113470189273357,-0.044659528881311,0.000724414596334,0.057182438671589,-0.008192520588636,0.011835305020213) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.038885541260242,0.123920939862728,0.136190235614777,-0.233257532119751,-0.095808595418930,-0.055588766932487,0.046622980386019,-0.112048171460629,-0.097165390849113,-0.071254856884480,-0.091189034283161,0.118781745433807,0.053506042808294,0.048752978444099,-0.070659644901752,-0.105527222156525) * MODEL12_texOff(vec2(0,0));
res += mat4(0.043843965977430,0.041006688028574,0.182338252663612,-0.125470250844955,-0.042851109057665,0.041840746998787,-0.145296677947044,0.053696636110544,-0.013031118549407,0.036314282566309,-0.099009424448013,-0.131125763058662,-0.241876810789108,-0.117038726806641,0.009708086028695,-0.126925095915794) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.027222491800785,0.120321564376354,0.099569171667099,-0.107069104909897,0.024526959285140,-0.059129640460014,-0.084600888192654,0.006860820110887,-0.150968641042709,-0.061081986874342,-0.050651300698519,0.004006345756352,-0.028520680963993,-0.023830063641071,-0.084268867969513,-0.043145623058081) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.074445933103561,0.128998398780823,0.025371961295605,-0.122422516345978,0.149988621473312,-0.006254744715989,-0.151534497737885,0.060351792722940,0.000595961464569,0.004288587719202,-0.065602764487267,-0.136221215128899,-0.051453195512295,0.074834883213043,-0.121139109134674,-0.019568899646401) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.077308282256126,-0.006595236249268,-0.024590250104666,0.056620027869940,0.135088056325912,-0.061398293823004,0.176447346806526,-0.047635037451982,0.050884272903204,0.030472932383418,0.013529141433537,0.046067107468843,0.065546005964279,-0.011976800858974,-0.003229432506487,0.005471008364111) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.812484681606293,-0.068637937307358,-0.046451970934868,0.076617039740086) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL3
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 7_3

vec4 hook()
{
vec4 res = vec4(-0.095893822610378,-0.185376435518265,-0.245444059371948,0.334582746028900);
res += mat4(0.002822672948241,0.107541099190712,-0.026818098500371,0.045088097453117,-0.092212185263634,-0.071464531123638,-0.098393760621548,0.105290688574314,0.142734587192535,0.003066678531468,0.205701798200607,-0.007608464919031,-0.060933761298656,-0.048645790666342,-0.048054505139589,-0.039735607802868) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.123784616589546,-0.032202210277319,0.012040284462273,-0.107378773391247,0.129297807812691,0.080754242837429,0.196543380618095,0.054352480918169,0.127279192209244,-0.103723749518394,0.211862996220589,0.067152455449104,0.063478052616119,-0.000429929030361,0.031555112451315,0.144841849803925) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.014218391850591,-0.123467810451984,0.017494723200798,0.029110401868820,-0.059718444943428,-0.038634214550257,0.140155434608459,-0.036161813884974,0.023401614278555,-0.066750086843967,0.151334166526794,-0.009262641891837,-0.053045183420181,0.067003436386585,0.135053470730782,-0.020107928663492) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.031390562653542,-0.172658264636993,0.125648826360703,0.049489539116621,-0.082817055284977,0.022609414532781,-0.046214509755373,-0.232995554804802,0.048010449856520,0.017541861161590,0.205830618739128,-0.036350261420012,-0.002533542923629,-0.131488502025604,0.002841772278771,0.020258124917746) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.013644669204950,-0.097160123288631,0.024342713877559,-0.092706911265850,-0.086365148425102,0.148802265524864,-0.103848874568939,-0.134479016065598,0.021469024941325,-0.007570263464004,0.076954789459705,-0.084838323295116,-0.018143311142921,-0.045905206352472,-0.177041351795197,-0.004197318106890) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.018198564648628,-0.102356471121311,-0.047546904534101,0.015049895271659,-0.122558854520321,0.124316871166229,-0.161723658442497,-0.032879620790482,0.106599122285843,0.007448318414390,0.077330082654953,-0.047510176897049,0.008582687936723,0.036993719637394,0.003307358128950,-0.102044492959976) * MODEL7_texOff(vec2(0,1));
res += mat4(0.078200459480286,0.063193522393703,0.038746196776628,0.080582663416862,-0.218009963631630,0.010901366360486,-0.054573230445385,0.001371576683596,-0.116113364696503,-0.021061930805445,0.001645535230637,0.001934694591910,0.032093837857246,-0.045359022915363,0.080323159694672,-0.014890710823238) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.142270088195801,0.098637871444225,0.231293752789497,0.074147626757622,0.070974662899971,0.058615140616894,-0.016265809535980,0.038818672299385,-0.002663735067472,0.044465687125921,-0.117542676627636,0.021636284887791,0.042357310652733,-0.035774953663349,0.050270471721888,0.149397775530815) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.069397866725922,-0.051072720438242,0.027568856254220,0.112284354865551,0.092746518552303,0.057645373046398,-0.096524715423584,0.052051097154617,0.046061739325523,0.019078209996223,0.095598585903645,-0.083844982087612,-0.076805092394352,-0.053975835442543,-0.043655984103680,0.004833937622607) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.002989111002535,0.011880507692695,0.005863307043910,-0.018750904127955,0.004192102700472,-0.091557063162327,-0.029971783980727,0.032524760812521,0.032512750476599,-0.033818986266851,0.034248933196068,0.016813611611724,-0.114741168916225,0.100800700485706,-0.080244816839695,-0.016705149784684) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.001253181835636,0.014045614749193,-0.062028337270021,0.053208887577057,-0.049074783921242,-0.098408602178097,0.019633712247014,-0.078047148883343,-0.028904294595122,0.017320416867733,-0.013004914857447,0.017400009557605,0.116649046540260,-0.020016504451632,-0.027205780148506,0.061433296650648) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.030221734195948,0.032681066542864,-0.118638530373573,-0.047238200902939,-0.072817325592041,0.031639300286770,-0.138955399394035,-0.041230697184801,-0.000483139854623,0.093871049582958,-0.182625025510788,0.011380487121642,-0.056959297508001,-0.012391414493322,-0.046977356076241,0.028418887406588) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.001595969079062,0.061579670757055,-0.084216140210629,-0.045260015875101,0.041607361286879,0.063689880073071,-0.189173072576523,-0.140043511986732,0.032946780323982,-0.043996270745993,-0.013396618887782,-0.091311134397984,0.243450880050659,0.124568693339825,0.171000137925148,-0.109344668686390) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.035564437508583,-0.005308904685080,0.096576377749443,0.094002775847912,0.113556645810604,0.025077581405640,-0.034349910914898,-0.094606280326843,0.092410922050476,-0.077171206474304,-0.069952428340912,0.183910191059113,-0.138836964964867,0.023147894069552,-0.176658242940903,-0.139604195952415) * MODEL8_texOff(vec2(0,0));
res += mat4(0.125557705760002,-0.112768128514290,-0.129131823778152,-0.251422733068466,0.174798876047134,-0.338559389114380,-0.043149907141924,0.116132244467735,0.196137428283691,-0.183460623025894,0.059467580169439,-0.061427928507328,-0.003667494282126,0.031988795846701,-0.102182187139988,0.135606363415718) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.120254307985306,0.084263369441032,-0.002502785297111,-0.044609829783440,-0.042499564588070,0.020377736538649,-0.172456920146942,0.065402328968048,0.016857031732798,0.084873698651791,-0.051733445376158,0.063282273709774,0.059394262731075,-0.076288945972919,0.102873474359512,-0.030587526038289) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.145269647240639,-0.054940700531006,0.130960926413536,0.006596175022423,0.145765304565430,0.072637997567654,-0.211014539003372,-0.061016447842121,-0.157855853438377,0.007272927090526,0.116590432822704,-0.063720956444740,0.030092669650912,-0.035142011940479,-0.233653649687767,-0.049204289913177) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.261710882186890,-0.058548118919134,-0.021681297570467,-0.171432808041573,-0.027467640116811,-0.169746324419975,-0.073150500655174,-0.001917928690091,-0.322334349155426,-0.044145885854959,-0.062153093516827,-0.004552563652396,-0.017561601474881,-0.099123999476433,-0.087267749011517,-0.134533494710922) * MODEL8_texOff(vec2(1,1));
res += mat4(0.030805828049779,-0.004287188407034,-0.119786895811558,-0.002650493290275,-0.080233812332153,0.046855818480253,-0.066007539629936,-0.008699111640453,-0.022442184388638,0.011395668610930,-0.072866581380367,0.069102719426155,-0.041475009173155,-0.019239265471697,-0.031728856265545,-0.021540360525250) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.125702127814293,-0.075657941401005,0.111016049981117,0.171512246131897,-0.032342940568924,0.107050769031048,-0.003635903820395,0.005369804799557,-0.114546336233616,0.040708981454372,-0.124727725982666,-0.032486338168383,-0.187647849321365,-0.005531614646316,-0.102373264729977,-0.176971793174744) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.068621717393398,-0.058348372578621,0.187694847583771,0.068366691470146,0.025637302547693,0.054835587739944,0.035124491900206,-0.097106128931046,-0.003443802241236,0.070605263113976,-0.216880738735199,0.089469835162163,-0.043887604027987,-0.005527316592634,-0.173673421144485,0.004452849272639) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.019437890499830,0.082304276525974,0.014989688061178,0.023808166384697,-0.156228244304657,0.054138846695423,-0.066736169159412,-0.085255518555641,0.040378641337156,-0.070015639066696,0.020988842472434,-0.077574945986271,0.024988863617182,-0.062415424734354,0.001639852882363,0.099867947399616) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.076186075806618,0.267934292554855,-0.292841225862503,-0.255058705806732,-0.034652791917324,0.248401269316673,0.058875214308500,-0.019267084077001,0.111704610288143,-0.170158147811890,-0.042856473475695,0.108709678053856,0.132061317563057,0.052819952368736,0.412348806858063,0.063753217458725) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.004599553998560,0.304349273443222,-0.297760367393494,-0.056641977280378,-0.028589669615030,-0.004275562707335,0.071746721863747,0.025904191657901,0.092675119638443,-0.003417014610022,-0.073177531361580,0.024042245000601,0.035748742520809,0.029827106744051,0.103404156863689,0.143070012331009) * MODEL9_texOff(vec2(0,1));
res += mat4(0.121734663844109,0.137258663773537,0.055104359984398,-0.009725280106068,0.091431379318237,0.083372555673122,0.010554107837379,-0.021806264296174,-0.020603157579899,-0.018108971416950,0.058427385985851,0.038139797747135,-0.079909741878510,-0.034893665462732,0.123189106583595,-0.038365073502064) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.179934725165367,0.290536344051361,0.057200636714697,-0.078530646860600,0.168274328112602,-0.002972370712087,0.068023487925529,-0.038417451083660,0.192152500152588,0.070538319647312,0.211911380290985,-0.031443759799004,0.121316410601139,0.062132541090250,-0.054913464933634,-0.021305607631803) * MODEL9_texOff(vec2(1,0));
res += mat4(0.172154754400253,0.248381733894348,-0.195881128311157,0.120790205895901,0.054518327116966,-0.019262811169028,0.159279823303223,-0.091519676148891,-0.164637863636017,0.080904223024845,0.004768613725901,-0.006640203297138,-0.051622085273266,-0.028070822358131,-0.051470208913088,0.009573459625244) * MODEL9_texOff(vec2(1,1));
res += mat4(0.070775628089905,-0.009904328733683,0.226988628506660,-0.017742710188031,-0.039888862520456,0.101728640496731,-0.132416278123856,0.047565106302500,-0.086976908147335,-0.012046989984810,0.010210568085313,-0.008704343810678,-0.051500085741282,0.002652593189850,-0.056540958583355,-0.070421628654003) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.108688548207283,0.011847135610878,-0.159268051385880,-0.094599328935146,-0.018739353865385,0.062100790441036,-0.063036419451237,0.172915458679199,-0.174638122320175,0.108560815453529,-0.073392234742641,-0.083896182477474,-0.038806222379208,0.162678539752960,-0.065691635012627,-0.122340895235538) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.048403449356556,0.082636371254921,0.073932737112045,-0.025748172774911,-0.093303509056568,0.016119694337249,0.038730483502150,0.018631633371115,0.068550333380699,0.057030174881220,0.004361726809293,-0.006900394801050,-0.048731118440628,0.072595804929733,-0.012927110306919,-0.028053632006049) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.076191812753677,-0.026541164144874,-0.120629481971264,0.091036915779114,0.026995055377483,-0.027815012261271,-0.147809401154518,0.106429696083069,0.126959607005119,-0.073526971042156,0.062798544764519,-0.033001311123371,-0.016991512849927,-0.066210806369781,-0.057404901832342,-0.083127588033676) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.088962316513062,-0.195089802145958,0.035469554364681,0.123887881636620,-0.039754193276167,0.021936787292361,-0.028452025726438,-0.186204835772514,0.251676857471466,0.044058151543140,0.057421822100878,-0.110604889690876,0.074488945305347,-0.497518151998520,0.125711038708687,-0.110179029405117) * MODEL10_texOff(vec2(0,0));
res += mat4(0.045756720006466,0.032113358378410,0.029574329033494,0.003922676667571,-0.003927495796233,0.019820448011160,-0.093572869896889,-0.026138154789805,-0.078036293387413,-0.020573556423187,-0.035957347601652,0.131872221827507,0.015456424094737,-0.143695488572121,-0.086735844612122,0.064141415059566) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.053642846643925,-0.068423874676228,0.015139559283853,-0.043861035257578,-0.067291297018528,0.118407018482685,0.016420612111688,-0.080290809273720,-0.053736288100481,-0.018292605876923,-0.079278670251369,0.064055964350700,-0.096885852515697,0.064896911382675,-0.068426921963692,0.048742406070232) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.087313115596771,0.121502883732319,-0.013176690787077,-0.115748345851898,-0.262716501951218,-0.032551601529121,-0.048225183039904,0.007386145181954,0.216045647859573,0.020074659958482,-0.125558510422707,0.144887715578079,-0.210731938481331,0.147487446665764,-0.176986813545227,0.031019087880850) * MODEL10_texOff(vec2(1,0));
res += mat4(0.133129522204399,0.096829734742641,0.002951613394544,-0.088242009282112,0.138041302561760,-0.118103176355362,-0.123393133282661,0.030294064432383,0.126259356737137,0.034631267189980,-0.013382013887167,-0.017340004444122,0.036614157259464,0.078918531537056,-0.184816017746925,-0.003112831851467) * MODEL10_texOff(vec2(1,1));
res += mat4(0.062322024255991,-0.004888928495347,0.023334801197052,-0.155449122190475,0.030664520338178,0.015586202032864,-0.069609798491001,0.051761873066425,0.080190025269985,-0.053914725780487,0.183921232819557,0.058399662375450,0.057710949331522,-0.045378342270851,0.033704571425915,-0.049455545842648) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.166896119713783,-0.045332964509726,-0.036540359258652,0.101470209658146,0.055817443877459,-0.125719621777534,-0.036552790552378,0.054432347416878,0.114412203431129,-0.026519188657403,0.275891274213791,0.032716780900955,-0.059275425970554,-0.023833429440856,-0.111716672778130,0.037459723651409) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.011924451217055,0.068537421524525,0.022317105904222,0.139016345143318,-0.103477887809277,-0.124954834580421,-0.039086475968361,0.021321028470993,-0.033986866474152,-0.064244702458382,-0.034020066261292,-0.003368284786120,-0.058877859264612,0.027210798114538,-0.127464607357979,-0.063722588121891) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.004376574885100,0.065543033182621,0.200179070234299,-0.008044505491853,-0.105591289699078,-0.069370351731777,-0.104660056531429,-0.037530489265919,0.118714362382889,-0.330790728330612,-0.038592923432589,-0.148293182253838,-0.090791516005993,0.028112264350057,-0.122246108949184,0.059620529413223) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.103246971964836,0.037373326718807,-0.111814692616463,-0.052664320915937,-0.036040131002665,-0.072260223329067,-0.188477411866188,-0.028621204197407,0.003473899792880,0.123426377773285,-0.043690752238035,-0.194772481918335,0.090662308037281,-0.078411594033241,0.086627453565598,0.341283410787582) * MODEL11_texOff(vec2(0,0));
res += mat4(0.090340286493301,0.072085335850716,0.038099247962236,0.030840529128909,0.026703499257565,0.036401819437742,-0.058411456644535,0.107006609439850,0.050612736493349,0.034221224486828,0.089113809168339,0.064713343977928,-0.117827981710434,-0.044367808848619,-0.024148084223270,-0.080430895090103) * MODEL11_texOff(vec2(0,1));
res += mat4(0.005548126995564,-0.007232521194965,-0.013238372281194,-0.009164134040475,0.004310380201787,0.076282106339931,0.044417485594749,-0.038387030363083,-0.171754807233810,0.029330780729651,0.121933728456497,-0.127216368913651,-0.057121284306049,0.042370773851871,0.023919932544231,0.022366391494870) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.023696940392256,0.080590635538101,-0.163638979196548,0.079199105501175,-0.088676758110523,0.240127086639404,-0.081637687981129,0.063373692333698,-0.073833599686623,0.006962333340198,0.090716950595379,0.010643144138157,0.187307700514793,0.063397377729416,0.025829214602709,0.064555764198303) * MODEL11_texOff(vec2(1,0));
res += mat4(0.136193513870239,0.055846579372883,-0.045293211936951,0.007757552899420,0.184374228119850,0.032477475702763,0.047079913318157,-0.011089459061623,0.002680252306163,0.071491725742817,0.031912535429001,0.093506649136543,0.027808241546154,-0.019521877169609,-0.017796665430069,0.055207181721926) * MODEL11_texOff(vec2(1,1));
res += mat4(0.004725214559585,-0.038797538727522,0.051839649677277,0.019384555518627,-0.079809211194515,-0.058019347488880,0.017601031810045,0.158270612359047,0.021010221913457,-0.018148967996240,0.155234068632126,-0.026000922545791,-0.002409727312624,0.038091149181128,0.045669339597225,0.005110969301313) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.005657646339387,0.010891721583903,-0.112741664052010,-0.046715348958969,-0.219664424657822,0.100990846753120,0.053281106054783,0.022173730656505,-0.021108986809850,-0.073763616383076,0.155153810977936,-0.164284586906433,-0.044259265065193,0.085693828761578,-0.179689139127731,-0.197378516197205) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.196063637733459,-0.077865414321423,-0.006876046769321,0.069989018142223,-0.085608415305614,0.094470798969269,-0.084799826145172,0.000099485507235,-0.107258789241314,0.101508967578411,-0.024794902652502,-0.003800604259595,0.048140853643417,0.055857840925455,-0.103819772601128,-0.058130282908678) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.096991062164307,-0.070049472153187,0.009353302419186,-0.081213131546974,-0.045466523617506,-0.079262182116508,0.000557187129743,0.076968125998974,0.018715171143413,0.114203438162804,0.012882850132883,-0.118077427148819,0.148476481437683,-0.030003905296326,0.060417063534260,-0.020479893311858) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.005455007776618,-0.042644247412682,0.227597966790199,-0.017358964309096,-0.039521213620901,0.011019184254110,0.178054377436638,0.143136203289032,0.021879579871893,-0.096872404217720,0.120840393006802,-0.049463558942080,0.044561780989170,-0.059304948896170,0.007415595930070,0.041167791932821) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.141737997531891,0.100066848099232,-0.011416392400861,-0.015521670691669,-0.085355177521706,0.063146047294140,-0.064025461673737,0.039696563035250,-0.014350743032992,-0.070618644356728,-0.135082021355629,-0.007250974420458,0.066211223602295,-0.104949273169041,0.094411857426167,-0.027098819613457) * MODEL12_texOff(vec2(0,1));
res += mat4(0.002612692303956,0.012250764295459,0.098109602928162,-0.046397019177675,-0.023404920473695,-0.092612259089947,0.039775468409061,-0.013747673481703,-0.294198453426361,-0.031089324504137,-0.060571521520615,-0.102159768342972,0.056520774960518,-0.014448882080615,0.024245534092188,-0.012400557287037) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.037636842578650,-0.015598773024976,0.128962621092796,-0.026645572856069,-0.167649775743484,-0.123724564909935,0.131769925355911,-0.101664043962955,-0.025738017633557,-0.052710063755512,0.088039956986904,-0.074205644428730,0.088643930852413,-0.014104697853327,0.044692069292068,-0.075446881353855) * MODEL12_texOff(vec2(1,0));
res += mat4(0.109200648963451,0.007177229970694,-0.158452019095421,-0.040861241519451,-0.093593969941139,-0.102044403553009,0.153344973921776,-0.010437752120197,-0.013932499103248,-0.090179063379765,-0.097765371203423,0.010240970179439,-0.052670866250992,-0.042989421635866,0.152295097708702,0.012817728333175) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.119241893291473,-0.093422427773476,0.198437601327896,0.539370954036713) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL4
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 7_4

vec4 hook()
{
vec4 res = vec4(-0.159995049238205,0.204145103693008,0.138330250978470,-0.249426186084747);
res += mat4(-0.193198531866074,-0.112949684262276,0.000147672268213,0.141525298357010,-0.163438588380814,0.056448038667440,0.053953588008881,-0.043786570429802,-0.050569683313370,-0.048773802816868,-0.040352307260036,0.168034195899963,-0.373599946498871,0.039308723062277,-0.031461343169212,0.021039111539721) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.037175655364990,0.042405400425196,-0.042616199702024,0.062002748250961,0.046685390174389,0.101464748382568,-0.052385248243809,0.095282144844532,0.162707060575485,-0.098544985055923,-0.060908135026693,0.041052754968405,0.257941931486130,0.117660425603390,-0.019569994881749,-0.079601146280766) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.002861537970603,-0.058763802051544,-0.026168564334512,-0.036187957972288,0.017017299309373,-0.045603785663843,0.011138808913529,-0.051212131977081,0.036325853317976,-0.094596333801746,-0.109027609229088,0.088448159396648,-0.052386175841093,-0.189223080873489,0.000151182262925,0.159586891531944) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.195026844739914,-0.002988567808643,-0.091563284397125,0.011798373423517,0.120748542249203,-0.041968993842602,0.037495259195566,-0.069649457931519,0.093336686491966,-0.152600288391113,-0.012797525152564,0.087752513587475,-0.255663096904755,0.073003068566322,0.068350493907928,-0.060490980744362) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.250709414482117,-0.079614728689194,0.028185702860355,-0.167151361703873,-0.042315825819969,-0.019216476008296,0.076293900609016,-0.031329531222582,-0.076031260192394,0.048320807516575,-0.079151302576065,0.416797906160355,-0.202278152108192,-0.147887974977493,-0.194395095109940,0.085073307156563) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.013141506351531,-0.091060757637024,0.016904138028622,-0.090909302234650,0.025601731613278,-0.003730734810233,-0.025012275204062,-0.005644632503390,0.131960988044739,-0.011597897857428,-0.113555595278740,0.121048495173454,0.120351478457451,0.180992469191551,-0.060897164046764,-0.074137069284916) * MODEL7_texOff(vec2(0,1));
res += mat4(0.207174435257912,-0.017837774008512,-0.071700900793076,0.124900780618191,0.108444109559059,0.044661562889814,0.081172756850719,0.034008003771305,-0.042691607028246,-0.036746315658092,0.043778210878372,-0.077029794454575,0.039069853723049,-0.015364932827652,0.058791801333427,0.065895497798920) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.121305063366890,0.057315245270729,0.123638130724430,0.112051881849766,0.281461030244827,-0.029021736234426,-0.001297550043091,0.093185447156429,0.029810927808285,-0.019914189353585,-0.056725684553385,-0.067312829196453,-0.099103927612305,-0.006716809701174,0.024733472615480,-0.020869987085462) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.035427253693342,-0.001105517265387,-0.016335705295205,-0.075229391455650,-0.019434550777078,0.118991047143936,-0.012643852271140,0.076179407536983,0.023311661556363,0.027473954483867,-0.025777244940400,0.035440817475319,-0.009638010524213,-0.083106741309166,0.005242126993835,-0.046775747090578) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.007800455205142,-0.037556260824203,-0.065473183989525,0.023287609219551,-0.004504913464189,-0.036823283880949,-0.111001364886761,-0.166302561759949,-0.041725337505341,0.073103323578835,0.047223564237356,0.016094494611025,0.125720039010048,-0.019414100795984,-0.095740310847759,0.152710527181625) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.144484013319016,-0.045132488012314,-0.103240154683590,0.007403897121549,0.154159039258957,0.004059821832925,-0.067071102559566,-0.037643983960152,-0.079320825636387,-0.000126533064758,-0.063086122274399,0.042711947113276,-0.024325635284185,0.105308152735233,-0.061495184898376,0.069027923047543) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.043744649738073,-0.028656501322985,-0.178292959928513,0.056532543152571,0.051772508770227,0.006668851710856,0.002311023185030,-0.085232496261597,-0.059127323329449,0.030183095484972,-0.039814203977585,0.051234584301710,-0.006773397792131,-0.074592858552933,-0.018478883430362,0.002410933841020) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.224037274718285,0.053485129028559,-0.057112667709589,-0.091119326651096,0.065140925347805,-0.079398617148399,-0.100814647972584,0.043579418212175,0.033663630485535,-0.032874573022127,0.018081497400999,0.077180534601212,0.278978884220123,-0.031849220395088,-0.052197102457285,0.099281661212444) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.172440305352211,-0.013214283622801,0.161753863096237,-0.162724360823631,-0.171608373522758,-0.132942244410515,0.067005671560764,-0.259453028440475,-0.209401711821556,-0.163978591561317,0.126596063375473,0.006462129764259,-0.390527933835983,0.249220579862595,0.154854774475098,-0.108551993966103) * MODEL8_texOff(vec2(0,0));
res += mat4(0.068325236439705,-0.159802913665771,0.044495016336441,-0.106082767248154,-0.055863995105028,0.086149714887142,-0.058541730046272,-0.145429342985153,0.025469603016973,0.139991849660873,0.095274783670902,-0.278785258531570,0.060156278312206,0.139932394027710,0.031687512993813,0.086617141962051) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.046312965452671,0.087985292077065,0.035490471869707,0.064287222921848,-0.078277088701725,-0.028155386447906,-0.028862092643976,-0.088875621557236,-0.042746320366859,0.049916319549084,0.026939198374748,0.018120888620615,0.053189199417830,0.077422842383385,-0.057073492556810,0.020424636080861) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.173750028014183,-0.039526056498289,0.157231941819191,0.046459469944239,0.127532988786697,-0.016198830679059,-0.043100152164698,-0.096593648195267,-0.222001031041145,-0.019916780292988,0.340878754854202,0.027715811505914,-0.051387358456850,-0.126886516809464,-0.285030603408813,-0.179526671767235) * MODEL8_texOff(vec2(1,0));
res += mat4(0.116156347095966,-0.172976672649384,0.214610576629639,-0.138268485665321,0.110888056457043,0.096315592527390,0.042853884398937,0.057443667203188,-0.033672709017992,-0.112743899226189,0.039890289306641,-0.000852571625728,0.074032291769981,-0.038419358432293,-0.058402162045240,0.007640873547643) * MODEL8_texOff(vec2(1,1));
res += mat4(0.054819695651531,0.024689918383956,-0.046535201370716,-0.122200489044189,0.183292627334595,-0.022310964763165,-0.033162921667099,0.002863871632144,0.090056784451008,0.079540073871613,0.077758803963661,-0.034599620848894,-0.040505219250917,-0.070668831467628,-0.095130085945129,-0.038222391158342) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.045918956398964,0.068333707749844,0.002060596365482,-0.071790009737015,0.039225686341524,0.095961213111877,0.019089141860604,0.013556823134422,-0.093714386224747,0.023141354322433,0.031048677861691,-0.042543437331915,0.002326498972252,-0.038295056670904,-0.098328821361065,-0.022843133658171) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.039568576961756,0.073666565120220,-0.039760198444128,-0.025057435035706,0.095436297357082,-0.054058052599430,0.008832083083689,0.011737596243620,-0.072817847132683,0.103477947413921,0.030685530975461,0.007141265552491,-0.065143883228302,-0.011269944719970,-0.055847927927971,-0.011240716092288) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.084713846445084,0.045521702617407,-0.020057115703821,0.062675468623638,0.143542826175690,-0.100107587873936,0.146634668111801,0.004855308681726,0.097078658640385,0.038824517279863,-0.098773814737797,-0.041604198515415,0.062194488942623,0.062590263783932,-0.092527732253075,-0.034992773085833) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.060712523758411,-0.004839764442295,0.030884772539139,0.062580376863480,-0.227896809577942,0.026686504483223,-0.032339874655008,-0.097516082227230,-0.133207067847252,-0.101021990180016,-0.082964621484280,-0.003798427525908,-0.164892062544823,-0.058608047664165,0.051088180392981,0.056112840771675) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.052699822932482,0.096022866666317,-0.005881031043828,0.041910741478205,0.092283800244331,0.097267188131809,0.033924538642168,0.037745911628008,0.192813232541084,0.098796769976616,-0.052395161241293,-0.004892205819488,0.020867159590125,0.118735432624817,-0.062241524457932,-0.185236170887947) * MODEL9_texOff(vec2(0,1));
res += mat4(0.016125807538629,0.072091363370419,-0.117704868316650,0.171102747321129,0.120371088385582,0.010785289108753,0.078257277607918,0.117241308093071,0.121794477105141,-0.074391975998878,0.098034016788006,-0.009724053554237,-0.112999759614468,0.059343311935663,0.041604392230511,0.033169746398926) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.214386895298958,0.037217538803816,-0.110015563666821,0.183753103017807,-0.127335801720619,-0.102151289582253,0.002418430289254,0.176895081996918,-0.071385808289051,0.122412502765656,-0.040066208690405,0.146984159946442,-0.155951797962189,0.062505066394806,-0.086641035974026,-0.153112664818764) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.086619026958942,-0.089930891990662,-0.209744945168495,0.109303794801235,-0.086900949478149,0.025710763409734,-0.051178283989429,0.033001326024532,0.193652346730232,0.082834072411060,-0.089051201939583,0.033905539661646,-0.109130933880806,0.036379341036081,-0.104436509311199,0.018360257148743) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.119442716240883,0.018413560464978,0.000329593225615,0.043554015457630,-0.079988718032837,0.004081446677446,0.020178670063615,-0.104994416236877,-0.123046532273293,0.092515811324120,-0.026789309456944,-0.045532017946243,0.074153304100037,-0.113169819116592,-0.010122450068593,0.051090348511934) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.121561944484711,-0.036102801561356,-0.030770802870393,-0.069193720817566,0.244070932269096,-0.006510174367577,-0.190603479743004,-0.079235956072807,-0.218754708766937,0.106014080345631,0.065720207989216,-0.184793591499329,0.074643321335316,-0.068891361355782,-0.084853537380695,0.218453064560890) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.063787706196308,0.033948428928852,0.056420706212521,-0.020595945417881,-0.031203910708427,-0.010101964697242,-0.073732078075409,-0.081234544515610,0.068342514336109,0.105678863823414,0.009955707006156,-0.002745613455772,-0.093581333756447,-0.080907925963402,0.048581872135401,0.044406756758690) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.053699865937233,0.035015143454075,-0.165543064475060,-0.080868236720562,-0.082131370902061,0.052811868488789,0.032113395631313,-0.101226471364498,0.064930871129036,-0.058816183358431,-0.086616605520248,0.132948428392410,0.098967030644417,0.011203901842237,0.004764090757817,0.008088166825473) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.248513206839561,0.039257183670998,0.042871993035078,0.053306199610233,-0.068857789039612,0.096573494374752,-0.145441249012947,-0.157254427671432,-0.084141582250595,0.104925580322742,0.048506181687117,0.411352038383484,-0.128455862402916,0.177745193243027,0.090401589870453,-0.337418109178543) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.045852202922106,-0.038209289312363,-0.038145195692778,0.074102699756622,-0.043083515018225,-0.088566608726978,-0.106337562203407,0.009109155274928,-0.053903982043266,0.010687263682485,-0.124110594391823,0.082912698388100,-0.198032155632973,-0.076524160802364,-0.004593660589308,-0.026294823735952) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.083151273429394,0.034352723509073,-0.020104132592678,0.036826774477959,0.030595678836107,0.053100902587175,0.129812568426132,0.172335430979729,0.039930671453476,-0.038625534623861,0.029299275949597,-0.075899459421635,-0.017017496749759,-0.010035165585577,-0.023111421614885,-0.124997310340405) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.124026544392109,0.077375330030918,-0.021433714777231,0.124243684113026,-0.160457313060760,0.126625701785088,-0.115342974662781,0.045666024088860,-0.000449176615803,-0.058766379952431,-0.052984893321991,-0.183204010128975,0.191927418112755,-0.159063428640366,0.021157389506698,-0.280142635107040) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.019899504259229,0.085171110928059,0.050193067640066,0.073753148317337,-0.127692475914955,0.083423346281052,0.003879352938384,-0.039663586765528,-0.041316490620375,0.022666919976473,0.004407319705933,-0.024178395047784,-0.099295638501644,-0.001926482305862,-0.026091827079654,0.017281023785472) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.055078234523535,0.149374336004257,0.063896171748638,0.046100988984108,-0.138994857668877,0.084905140101910,0.037268575280905,-0.004550833255053,0.146538689732552,0.059360444545746,-0.176134586334229,-0.157481029629707,0.020453821867704,-0.016363134607673,0.040552835911512,0.004566343501210) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.264545381069183,-0.059782542288303,0.092324443161488,0.111728355288506,0.018147459253669,0.058299180120230,-0.098029688000679,-0.109200127422810,0.056500032544136,0.011372198350728,-0.091764658689499,-0.168023362755775,-0.035779077559710,-0.008403181098402,0.032506190240383,0.090141840279102) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.077777773141861,0.031572382897139,-0.149404779076576,0.118956640362740,0.034343898296356,0.045353829860687,0.003484580665827,0.042658515274525,0.078410699963570,0.013818622566760,-0.018792804330587,-0.031276267021894,0.087996050715446,-0.042432181537151,-0.063577592372894,0.018456147983670) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.139866366982460,-0.122548870742321,-0.021150510758162,0.114913001656532,-0.035961031913757,-0.017597224563360,0.018747488036752,-0.073508307337761,0.117974393069744,0.002785798162222,-0.056348543614149,-0.061324480921030,0.120503917336464,-0.030083768069744,0.001883252756670,-0.147897392511368) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.114657931029797,0.107875384390354,0.054072156548500,0.321835339069366,-0.181670755147934,0.108897261321545,-0.163691192865372,0.021792232990265,0.280694842338562,0.084242314100266,-0.018397543579340,0.150613814592361,0.001350574078970,-0.070124134421349,0.098710589110851,0.107030250132084) * MODEL11_texOff(vec2(0,0));
res += mat4(0.007261892315000,-0.089506953954697,-0.111371561884880,0.090508356690407,0.131481751799583,0.034676652401686,-0.008742909878492,0.063324131071568,-0.126742228865623,-0.051511634141207,0.004166113212705,0.075283713638783,-0.043282888829708,-0.130913048982620,0.032502781599760,-0.149509370326996) * MODEL11_texOff(vec2(0,1));
res += mat4(0.035689510405064,-0.168791487812996,0.045102756470442,-0.122102141380310,-0.027771266177297,0.081662818789482,0.058055829256773,0.113116793334484,0.044269237667322,-0.085955478250980,0.199778601527214,0.074502527713776,0.031550202518702,-0.024522358551621,0.047790762037039,0.085149906575680) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.086885869503021,-0.162705957889557,-0.205143287777901,-0.116759501397610,0.029551927000284,0.039851151406765,-0.095899492502213,-0.044107090681791,0.150354236364365,-0.026688396930695,0.063958570361137,-0.019322577863932,0.048530418425798,-0.084566511213779,-0.161211520433426,-0.017584474757314) * MODEL11_texOff(vec2(1,0));
res += mat4(0.035626135766506,-0.056021708995104,0.112548492848873,-0.065250970423222,0.081211261451244,-0.031637761741877,0.052187703549862,-0.037448439747095,-0.047489110380411,-0.028099119663239,-0.024287115782499,0.037639372050762,-0.105270676314831,0.018361099064350,-0.070869766175747,-0.054493743926287) * MODEL11_texOff(vec2(1,1));
res += mat4(0.038197815418243,-0.027817426249385,0.039335362613201,-0.066678524017334,-0.257099300622940,0.025197071954608,0.018598483875394,-0.027937341481447,-0.119763836264610,0.057222709059715,0.006540678441525,0.001428140210919,-0.157357499003410,0.077512256801128,0.019942114129663,0.111912831664085) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.157585218548775,-0.031124426051974,-0.060695279389620,0.033580362796783,-0.018138088285923,-0.189551353454590,-0.231743142008781,-0.025756217539310,0.050501246005297,-0.021622214466333,-0.100415937602520,-0.000055931770476,0.004453437402844,-0.052728381007910,-0.083598516881466,0.172555878758430) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.248720586299896,-0.081626355648041,-0.008800912648439,-0.132883563637733,-0.211889162659645,0.002448780462146,-0.110209859907627,0.123407930135727,-0.290130108594894,-0.119739457964897,0.032508689910173,-0.006018138956279,0.050519105046988,0.069801464676857,-0.137746617197990,0.054758079349995) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.166872709989548,0.017436826601624,0.064552694559097,-0.031378474086523,-0.194742485880852,-0.078856855630875,0.006749156396836,0.061287987977266,0.233006417751312,-0.012401136569679,-0.100063867866993,-0.137626722455025,-0.003191116964445,0.070361226797104,-0.039407521486282,-0.030817674472928) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.084388762712479,-0.120019257068634,0.105847872793674,0.029261892661452,-0.141717448830605,-0.400274038314819,-0.235262557864189,-0.129871919751167,-0.038323253393173,-0.103695206344128,0.065920941531658,-0.151847422122955,0.071645095944405,0.020605552941561,-0.151986837387085,-0.192894488573074) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.013269506394863,-0.208326801657677,0.060640450567007,0.108915887773037,-0.040854126214981,-0.042635884135962,0.114199973642826,-0.122594900429249,-0.105423077940941,0.090515114367008,0.055038154125214,-0.026706082746387,-0.276445001363754,-0.085307523608208,0.023476475849748,-0.084145627915859) * MODEL12_texOff(vec2(0,1));
res += mat4(0.007954338565469,-0.043459504842758,0.192504316568375,0.058517713099718,0.088447384536266,0.012232109904289,-0.067452318966389,0.000284156529233,0.096258439123631,0.015072424896061,0.082653924822807,-0.041711427271366,0.026725659146905,0.001740597421303,-0.124589636921883,-0.061722613871098) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.154035970568657,-0.153792545199394,0.180103734135628,-0.022875865921378,-0.002184242941439,0.083343125879765,0.066524609923363,0.153109952807426,-0.202756106853485,0.040995381772518,0.116099588572979,-0.034481022506952,-0.035133037716150,0.082955479621887,0.012294995598495,-0.003997873980552) * MODEL12_texOff(vec2(1,0));
res += mat4(0.149202287197113,-0.133896410465240,0.052671737968922,-0.056743580847979,-0.019562810659409,0.005633402615786,-0.066183142364025,-0.031040078029037,0.115774668753147,0.100460819900036,0.040028635412455,-0.025672521442175,-0.093449898064137,0.042406715452671,0.156910791993141,0.073839947581291) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.007482710760087,0.347400486469269,0.170612975955009,-0.002991528948769) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL5
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 7_5

vec4 hook()
{
vec4 res = vec4(-0.140306323766708,-0.137469917535782,-0.100099183619022,0.137342482805252);
res += mat4(-0.001349137164652,-0.194567769765854,-0.024156743660569,-0.013545492663980,-0.119974344968796,-0.171959564089775,-0.162224426865578,-0.028167748823762,0.087368600070477,0.074832253158092,0.031517878174782,-0.075804658234119,-0.090512461960316,-0.138286858797073,-0.169979572296143,-0.018683807924390) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.034063950181007,0.003445453010499,0.183043986558914,-0.094532176852226,0.149321451783180,-0.042662445455790,-0.256623059511185,-0.106900498270988,0.009519671089947,-0.009959589689970,-0.120025448501110,-0.195684239268303,-0.031799979507923,0.032839048653841,-0.078982256352901,0.083897486329079) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.090794220566750,0.046308569610119,-0.208594635128975,0.016274435445666,-0.048244819045067,-0.026688395068049,-0.065335072577000,-0.030029568821192,-0.008045803755522,-0.004437585361302,0.027805138379335,-0.134439155459404,-0.108738169074059,0.087432697415352,0.009319142438471,-0.034601930528879) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.133708015084267,0.186098620295525,0.246351942420006,-0.166297242045403,-0.082385465502739,-0.100226216018200,-0.098424404859543,0.002669589826837,0.007821218110621,0.123288892209530,-0.098541930317879,-0.064363829791546,-0.269248425960541,-0.000564059824683,0.095730461180210,-0.051237720996141) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.103592939674854,-0.142597600817680,0.223356753587723,-0.182671502232552,-0.166718006134033,0.063875749707222,0.026652848348022,0.141570359468460,0.099191151559353,-0.015562900342047,0.003806159133092,-0.220285400748253,-0.034261342138052,-0.000218290806515,-0.057978775352240,0.049687985330820) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.080214746296406,-0.026949426159263,0.093726187944412,0.034067366272211,-0.058684222400188,0.034788385033607,0.019654029980302,0.115091457962990,0.001235365867615,-0.006341529544443,0.027630999684334,-0.113860331475735,0.135344579815865,-0.090344615280628,0.022943748161197,-0.044228676706553) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.140338644385338,0.122901722788811,-0.055830810219049,-0.095667637884617,0.046577606350183,-0.215433254837990,0.089470580220222,-0.039728499948978,0.093404933810234,-0.026555567979813,0.050445485860109,-0.004051851574332,-0.162382289767265,0.189359396696091,-0.023865593597293,0.001582733006217) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.034513410180807,-0.203286081552505,0.035595703870058,-0.058833427727222,0.038698598742485,0.025467099621892,0.021265212446451,0.016514020040631,-0.022464044392109,0.087216041982174,-0.044051717966795,0.028490677475929,-0.163550242781639,-0.087616749107838,-0.135966449975967,0.011700220406055) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.056321211159229,-0.044576145708561,-0.081588812172413,0.019575014710426,0.007836855947971,-0.097121685743332,-0.033965867012739,0.060314305126667,0.018003465607762,-0.013480793684721,0.098466463387012,-0.013385145924985,0.065782517194748,-0.009380668401718,-0.005196486599743,-0.026306297630072) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.042264994233847,-0.016278633847833,0.006796394009143,0.044208418577909,-0.025316884741187,-0.271827250719070,-0.152767792344093,-0.063241153955460,-0.021265270188451,0.035738710314035,0.092359632253647,-0.019200498238206,0.101809762418270,0.120969519019127,0.160007417201996,-0.038425829261541) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.064708501100540,0.024508938193321,0.030533913522959,0.040806453675032,-0.086478821933270,-0.115718215703964,0.023743014782667,-0.011937559582293,-0.023478703573346,0.053846847265959,-0.125243648886681,0.083976134657860,-0.013688961043954,-0.030657000839710,0.009992704726756,-0.101463936269283) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.114443533122540,0.087240897119045,-0.270153403282166,-0.041643574833870,-0.014769798144698,-0.052606932818890,-0.185936287045479,0.025892328470945,0.065666332840919,-0.008137107826769,-0.185040265321732,-0.010610008612275,0.011396305635571,0.077071972191334,0.117749668657780,0.045876704156399) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.076059915125370,-0.064767077565193,-0.083236709237099,0.105018921196461,0.062027029693127,-0.198092117905617,-0.224883154034615,0.055898278951645,-0.052904359996319,0.151989176869392,-0.013909418135881,0.130951300263405,0.049479231238365,-0.023206891492009,-0.006135219242424,0.035654369741678) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.016459168866277,0.092652834951878,0.262080907821655,0.052780937403440,-0.112823493778706,0.003307883162051,0.385056316852570,-0.029726954177022,0.086975418031216,0.009081637486815,0.214536398649216,-0.066608220338821,-0.143198907375336,-0.012453114613891,0.253593415021896,-0.080821633338928) * MODEL8_texOff(vec2(0,0));
res += mat4(0.217550888657570,-0.120489574968815,-0.032854679971933,-0.121016353368759,-0.087965250015259,0.010808242484927,0.062411364167929,-0.054436922073364,0.108438216149807,-0.106937624514103,-0.099916450679302,-0.123122394084930,0.057639479637146,-0.070439793169498,0.206210851669312,-0.003056483110413) * MODEL8_texOff(vec2(0,1));
res += mat4(0.133606880903244,-0.012560280039907,0.058324355632067,0.071967326104641,0.101017408072948,-0.293062090873718,-0.008641182444990,0.093474239110947,0.032958693802357,-0.017926523461938,0.002585496986285,0.087645523250103,-0.091004259884357,-0.076636575162411,-0.046012595295906,0.090220592916012) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.001271569868550,0.036350488662720,0.049993678927422,0.038829069584608,0.063833855092525,0.151733368635178,0.032039977610111,-0.058611307293177,0.073774710297585,-0.018799211829901,0.058643721044064,-0.068308748304844,-0.126840457320213,0.162599250674248,-0.129540950059891,0.040095191448927) * MODEL8_texOff(vec2(1,0));
res += mat4(0.152373820543289,0.039875078946352,0.007045897655189,-0.015651896595955,-0.015203050337732,-0.177733987569809,0.005989819299430,-0.060097884386778,0.054311841726303,0.210967555642128,0.118899315595627,-0.060115490108728,0.086413703858852,0.008201103657484,0.143133431673050,0.010437660850585) * MODEL8_texOff(vec2(1,1));
res += mat4(0.032546304166317,0.029828621074557,0.128258928656578,-0.054727710783482,0.051571089774370,0.107497654855251,0.050607446581125,0.002430372871459,-0.024236040189862,0.031934101134539,0.020737383514643,-0.013264277949929,-0.131247729063034,-0.092689380049706,-0.048147298395634,0.066531978547573) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.037221085280180,0.009598742239177,0.069934196770191,-0.168236419558525,-0.011686054058373,-0.074792638421059,0.159055709838867,0.065203450620174,-0.062817752361298,0.159170001745224,-0.036525305360556,-0.053743671625853,0.076084971427917,0.124828547239304,0.047402463853359,0.088445134460926) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.065485633909702,-0.006103055085987,0.047385085374117,-0.113516777753830,0.048633377999067,0.083292946219444,0.090277910232544,0.011712565086782,-0.004406895488501,-0.136381298303604,-0.167333036661148,-0.046172440052032,0.024019215255976,0.001908310456201,-0.156737059354782,0.033417910337448) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.021585006266832,0.078682146966457,0.234761461615562,-0.027547096833587,0.070382282137871,-0.251308053731918,0.016301967203617,0.119504727423191,-0.008254612796009,-0.042670704424381,-0.031739376485348,-0.027651470154524,0.031481318175793,-0.194450795650482,-0.164218693971634,0.089018873870373) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.209034219384193,-0.149725571274757,0.053733520209789,0.020488396286964,-0.103079997003078,-0.028296366333961,0.056271880865097,0.048642590641975,-0.280813425779343,0.396638840436935,0.302161127328873,-0.184656843543053,0.141642317175865,0.059023212641478,0.321665346622467,0.136903479695320) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.021189905703068,0.145735740661621,0.087595418095589,0.134853109717369,-0.024394517764449,0.096765935420990,0.020742164924741,-0.093353837728500,0.053106583654881,-0.178162455558777,-0.005523131694645,-0.106141403317451,-0.041271407157183,0.034570060670376,-0.312189429998398,0.054981116205454) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.058393485844135,-0.275973916053772,0.021813517436385,-0.030117245391011,0.016109379008412,-0.083612829446793,-0.036123745143414,0.088754691183567,-0.044740241020918,0.048657331615686,0.001647848635912,-0.009745827876031,0.021492835134268,-0.247454226016998,0.051222857087851,0.021622831001878) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.181579262018204,-0.045117367058992,-0.124136567115784,0.105341799557209,-0.137893438339233,-0.153967663645744,0.110424928367138,-0.042552758008242,-0.094677314162254,0.061690524220467,0.066266752779484,-0.117195263504982,-0.007281305268407,-0.078524753451347,-0.054632920771837,-0.010666339658201) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.204908922314644,0.171162635087967,0.028296288102865,0.124662980437279,-0.034627880901098,0.022083675488830,-0.026749970391393,-0.065199166536331,-0.019254323095083,0.074373826384544,-0.063265338540077,-0.078356981277466,-0.067675493657589,-0.017828188836575,-0.049886416643858,-0.002916011726484) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.197456881403923,-0.033316820859909,0.029675975441933,-0.039029728621244,-0.116757884621620,-0.011128761805594,0.030198018997908,0.026896402239799,-0.111792877316475,-0.094855830073357,-0.149965688586235,0.088192902505398,-0.021918969228864,0.067219339311123,-0.010064460337162,0.070384100079536) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.020468048751354,-0.149944156408310,-0.273430377244949,0.069349363446236,0.043090902268887,0.266444712877274,0.019617356359959,-0.036982465535402,0.050818458199501,0.032049424946308,0.108097821474075,0.299714982509613,0.114376477897167,-0.021532243117690,-0.052955154329538,0.080113567411900) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.025864124298096,0.019899412989616,0.311842709779739,0.041038800030947,0.117349714040756,0.175490736961365,0.032835282385349,-0.017219856381416,0.039364617317915,0.059617858380079,-0.008601143024862,0.062905572354794,-0.040511589497328,0.018959073349833,-0.161186605691910,0.035026714205742) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.053648687899113,-0.154795452952385,-0.261595666408539,-0.105178982019424,0.164590686559677,-0.257864624261856,0.033351454883814,-0.069918908178806,-0.006011125165969,0.235628709197044,-0.034221027046442,-0.008638439700007,0.186262220144272,-0.306951671838760,-0.091151282191277,0.059108503162861) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.159374251961708,-0.050327241420746,0.179433226585388,-0.134828180074692,0.157514318823814,0.010421754792333,-0.162276923656464,-0.057556834071875,0.164020851254463,-0.235703021287918,0.337022334337234,-0.354903489351273,-0.366535305976868,-0.145011797547340,-0.163946747779846,-0.198074176907539) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.032740637660027,0.181396603584290,0.122528418898582,-0.051951844245195,0.042479291558266,-0.033118739724159,-0.166723802685738,-0.021095152944326,-0.097427487373352,0.097391538321972,-0.099532872438431,0.054719276726246,-0.116941109299660,0.048056486994028,-0.240534082055092,-0.027257258072495) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.022994710132480,-0.018967311829329,0.089536651968956,-0.125936612486839,-0.024499179795384,-0.176895231008530,0.143791422247887,-0.058712031692266,0.122210934758186,-0.009190637618303,0.029951287433505,0.032605692744255,0.167627409100533,-0.126997962594032,0.020262584090233,0.043014179915190) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.068122059106827,0.093267217278481,0.006896661594510,-0.072201795876026,-0.074554145336151,0.021891407668591,0.072916954755783,-0.063217043876648,-0.165961757302284,0.062981218099594,-0.061175063252449,0.037373218685389,-0.243264243006706,0.063149444758892,-0.057305742055178,0.074847616255283) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.002177080838010,-0.039890184998512,-0.027011685073376,-0.015949178487062,0.086495302617550,-0.066298849880695,-0.021129719913006,0.031928520649672,0.008226371370256,-0.020282167941332,-0.002510495716706,-0.052162077277899,-0.039809506386518,-0.026376865804195,0.045726045966148,0.008214890025556) * MODEL10_texOff(vec2(1,1));
res += mat4(0.010710655711591,-0.216924160718918,0.022647796198726,-0.055246926844120,0.036918800324202,0.146031513810158,-0.109357841312885,0.022674825042486,-0.000780782895163,-0.021407881751657,0.033967353403568,-0.163191244006157,-0.034409575164318,0.201558232307434,0.021453881636262,-0.020197030156851) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.453203439712524,0.009613958187401,-0.117600038647652,-0.213429406285286,-0.108504816889763,0.027123263105750,-0.016081066802144,-0.110085248947144,0.099817335605621,-0.183378711342812,-0.022313460707664,-0.131432265043259,-0.007620737887919,-0.060306429862976,-0.089125461876392,-0.034983798861504) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.092504136264324,0.032078545540571,-0.068951562047005,-0.076482921838760,-0.011835403740406,-0.092280216515064,-0.011735762469471,-0.020573345944285,0.011293417774141,0.066164761781693,-0.130065903067589,0.049527119845152,-0.043823186308146,-0.044925414025784,-0.007292928639799,-0.008735916577280) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.046673484146595,0.171853497624397,0.006764707155526,-0.024520508944988,-0.017332728952169,-0.066195987164974,0.016014138236642,0.054300714284182,0.014695188961923,0.247265398502350,-0.026515301316977,-0.193260982632637,0.131576344370842,-0.081684209406376,-0.077337786555290,0.092078723013401) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.184886664152145,-0.040141139179468,0.022456435486674,-0.020683495327830,-0.186743125319481,0.111399978399277,-0.006213332992047,-0.062923520803452,0.183786794543266,-0.129651948809624,0.121222801506519,-0.097086131572723,0.033455535769463,0.005868347827345,0.234039217233658,-0.384931713342667) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.117732107639313,0.000060199206928,0.019290972501040,-0.017844576388597,0.073199495673180,-0.196993738412857,-0.104401111602783,-0.011710354126990,-0.039447769522667,-0.070192433893681,0.139529779553413,0.088161833584309,-0.120834827423096,0.049346562474966,-0.119881153106689,0.338717341423035) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.004235675558448,-0.010497812181711,0.030571402981877,0.077169030904770,-0.019274001941085,0.030067769810557,0.005998907610774,0.027098275721073,-0.110594384372234,-0.017846809700131,0.073284119367599,-0.023414423689246,0.048607815057039,-0.085432529449463,0.053408402949572,0.035125412046909) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.054116051644087,0.151113733649254,-0.140123352408409,0.136591270565987,-0.190209358930588,0.095870859920979,-0.040068060159683,0.044040281325579,0.019131496548653,-0.123848594725132,0.050647258758545,0.007530715316534,0.013611217960715,0.017154393717647,0.038275517523289,0.006770840846002) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.057462781667709,0.072755865752697,0.004074496682733,0.032325956970453,0.093979485332966,-0.133528262376785,-0.004030566662550,0.005366493482143,-0.038200307637453,-0.125696554780006,0.069178909063339,0.001036607660353,-0.016142565757036,0.071046799421310,-0.102125212550163,0.108603931963444) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.104447446763515,0.138695925474167,0.197603970766068,-0.062458537518978,-0.063067480921745,-0.121995717287064,-0.158992752432823,-0.017095269635320,-0.064516477286816,0.345034480094910,0.054900713264942,-0.011776650324464,-0.046643689274788,0.030063115060329,-0.023690987378359,-0.042509835213423) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.105503879487514,0.136627107858658,0.061067428439856,-0.038559198379517,-0.098755531013012,-0.081337936222553,-0.038322359323502,0.186278760433197,0.201857715845108,-0.193200469017029,0.038360130041838,0.025257922708988,0.026935296133161,-0.097157455980778,-0.202704429626465,0.076175361871719) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.088504210114479,0.137221351265907,-0.155172958970070,-0.026857102289796,0.027626270428300,-0.056688737124205,-0.260915845632553,0.137552022933960,-0.066548906266689,0.281137287616730,-0.021421451121569,0.029524598270655,0.056197721511126,0.158329650759697,-0.188258960843086,0.104681916534901) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.049967046827078,0.020404567942023,0.057308651506901,-0.005308353807777,-0.024087240919471,-0.020090928301215,-0.117770828306675,-0.001249077962711,0.010269986465573,0.032471217215061,-0.103304490447044,0.055624615401030,-0.065012156963348,0.084435731172562,0.036309801042080,-0.049998603761196) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.167030677199364,0.125514239072800,0.120275907218456,-0.011735593900084,-0.045623365789652,0.065207727253437,-0.009173949249089,-0.016520399600267,-0.073784209787846,0.080062560737133,0.071865975856781,0.034151703119278,0.164545461535454,-0.227473035454750,-0.066814027726650,0.067099727690220) * MODEL12_texOff(vec2(0,0));
res += mat4(0.138150528073311,0.138709887862206,0.013452648185194,-0.007710533682257,0.061138529330492,-0.111167028546333,-0.104602724313736,-0.000307648559101,0.047857739031315,-0.088355764746666,-0.267095059156418,-0.005716442130506,-0.204994216561317,0.133861139416695,0.101187534630299,0.022522715851665) * MODEL12_texOff(vec2(0,1));
res += mat4(0.087775364518166,0.173370078206062,0.090649761259556,0.031390231102705,-0.010447585023940,0.015058814547956,-0.022545939311385,-0.051820501685143,0.046168677508831,-0.163613632321358,0.076092645525932,0.024646764621139,-0.013232448138297,0.001106426818296,-0.063051901757717,0.019567154347897) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.081278190016747,0.179071426391602,0.136665433645248,-0.007434054743499,0.056690130382776,-0.104623377323151,0.073793403804302,-0.158290863037109,-0.100426189601421,0.031903065741062,0.040481001138687,-0.024557426571846,-0.028493009507656,0.072829000651836,-0.005605654790998,-0.027756903320551) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.028218409046531,0.031023640185595,0.051570553332567,0.023053007200360,-0.037299543619156,-0.015254693105817,-0.042437333613634,-0.033385924994946,0.055599570274353,-0.019961418583989,-0.051131885498762,0.003100417554379,-0.033655975013971,-0.141883745789528,-0.041391752660275,-0.040698971599340) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.036615166813135,-0.119648426771164,0.042426269501448,0.914901614189148) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL6
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 7_6

vec4 hook()
{
vec4 res = vec4(-0.179626896977425,-0.717426955699921,0.027714883908629,0.123226098716259);
res += mat4(-0.055442191660404,0.040048673748970,0.025147130712867,0.090433493256569,0.004850508645177,-0.081919781863689,-0.011502583511174,0.035409133881330,0.086315438151360,0.047058857977390,0.110205590724945,-0.011187528260052,-0.022666350007057,-0.070797249674797,0.151829928159714,0.086040392518044) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.059433281421661,0.140071600675583,0.089076414704323,0.121158428490162,0.139530763030052,-0.001365062431432,-0.011508771218359,-0.281410485506058,-0.029486561194062,0.028286827728152,-0.029666252434254,-0.073616228997707,-0.055166918784380,-0.097214400768280,0.002330561866984,0.006328100338578) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.056148767471313,-0.029272990301251,0.072856917977333,-0.095690466463566,-0.049061015248299,-0.107317991554737,0.127348437905312,-0.111205868422985,-0.005552659276873,0.076675221323967,-0.001648046076298,0.042360302060843,0.091467104852200,0.078265696763992,0.092680253088474,-0.056484583765268) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.075850181281567,-0.156019061803818,-0.100506991147995,0.106696680188179,0.000546325289179,0.045302990823984,0.168785229325294,-0.034586716443300,0.071063019335270,0.146539270877838,0.079759918153286,-0.029668372124434,-0.068073071539402,-0.043270759284496,-0.022628670558333,0.021419979631901) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.137244850397110,0.012301728129387,0.207867279648781,0.103875078260899,-0.229662925004959,-0.101457886397839,-0.082504034042358,-0.061036445200443,-0.042003393173218,0.099250108003616,0.191842764616013,-0.061048414558172,0.041657689958811,0.130416214466095,-0.089292354881763,0.081590481102467) * MODEL7_texOff(vec2(0,0));
res += mat4(0.021164335310459,-0.038782440125942,0.174240142107010,0.000117888121167,0.009521235711873,0.001793161500245,0.057150568813086,-0.059079468250275,0.037728011608124,-0.012157504446805,0.156094521284103,-0.077823169529438,-0.212798461318016,0.036247782409191,-0.167891353368759,-0.089666143059731) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.046548537909985,0.046115025877953,0.115590274333954,-0.061507191509008,-0.003764719469473,-0.092443950474262,0.091364361345768,-0.038866277784109,0.034659929573536,-0.012058191001415,0.063120529055595,0.017524369060993,0.051504954695702,0.116110675036907,-0.030877826735377,0.078529924154282) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.013452284038067,0.113413147628307,0.128046229481697,-0.041153024882078,-0.033007171005011,0.090045593678951,-0.113778203725815,-0.054576043039560,-0.016097161918879,0.081482529640198,-0.137743279337883,-0.044725511223078,-0.034991387277842,-0.210510447621346,-0.082325190305710,-0.026417640969157) * MODEL7_texOff(vec2(1,0));
res += mat4(0.052334625273943,-0.014946929179132,-0.086583957076073,-0.036394800990820,-0.039988260716200,-0.055994734168053,-0.078989744186401,-0.095625020563602,0.008300751447678,0.045311123132706,-0.081118457019329,-0.034213520586491,-0.023134145885706,0.078912690281868,0.015072922222316,0.029190842062235) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.009886991232634,-0.016563247889280,-0.071057520806789,-0.013695343397558,-0.088956713676453,0.043686043471098,-0.045349556952715,0.065496794879436,-0.033508665859699,-0.083267375826836,-0.028586236760020,0.026345048099756,0.037933632731438,0.092892594635487,0.024244526401162,0.040049538016319) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.142613992094994,-0.034931525588036,-0.179806992411613,-0.096966065466404,0.074522949755192,-0.001352529623546,-0.093984141945839,0.052555833011866,-0.071723245084286,-0.009355626069009,-0.028518350794911,-0.017327373847365,-0.051140066236258,-0.095941349864006,-0.021908292546868,0.097285799682140) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.121403031051159,0.035316240042448,-0.069300770759583,-0.006241468247026,-0.037007596343756,0.020117329433560,-0.094938009977341,0.055752150714397,-0.070459268987179,0.040519971400499,-0.178728625178337,0.050398908555508,0.120519831776619,0.034343764185905,0.037040151655674,0.073297321796417) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.120408356189728,0.024224147200584,0.153980046510696,-0.147146686911583,-0.126635462045670,0.070754379034042,0.044400777667761,-0.144607678055763,0.040031816810369,0.116711199283600,0.018231291323900,-0.023158865049481,0.062574744224548,0.082247950136662,0.090714298188686,0.063778623938560) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.210476279258728,0.117588460445404,-0.396094113588333,-0.000761963310651,0.056686367839575,0.224777072668076,-0.207823738455772,0.224133253097534,0.091412194073200,-0.084497280418873,0.106727935373783,0.179805099964142,-0.152156680822372,0.080661691725254,0.188250020146370,0.200476631522179) * MODEL8_texOff(vec2(0,0));
res += mat4(0.338552147150040,0.265270888805389,-0.167191132903099,-0.015239522792399,0.084503404796124,-0.069790109992027,0.017371645197272,-0.046472433954477,-0.271299332380295,0.110435292124748,-0.172039613127708,-0.025356648489833,0.019098781049252,-0.018377861008048,0.097505845129490,-0.001668614102527) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.088993005454540,-0.126886203885078,0.008190502412617,-0.100054621696472,-0.148253142833710,-0.029307382181287,-0.016309814527631,-0.047502201050520,-0.136706039309502,-0.010536861605942,0.045917317271233,-0.026146655902267,-0.021120825782418,-0.019850885495543,-0.131643608212471,0.050971049815416) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.163219645619392,-0.254207670688629,-0.029550114646554,0.002066545886919,0.149003431200981,-0.066216677427292,-0.174308776855469,-0.075671203434467,0.118874013423920,0.155145451426506,0.212532505393028,0.101663716137409,-0.101916477084160,-0.003175272373483,-0.061151020228863,-0.050894506275654) * MODEL8_texOff(vec2(1,0));
res += mat4(0.268075108528137,0.134870722889900,0.080269895493984,0.012848009355366,-0.072971455752850,0.166822031140327,0.093267031013966,-0.021869674324989,0.091317608952522,-0.144471496343613,-0.112792424857616,0.091694101691246,-0.042493905872107,0.105165727436543,0.054550845175982,0.021750697866082) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.027783377096057,0.019170975312591,0.014387340284884,-0.073799803853035,0.016748625785112,0.001425958704203,0.113832794129848,0.018843078985810,-0.003430508309975,0.020040858536959,-0.058526445180178,0.083168543875217,0.028458034619689,-0.030757360160351,-0.108301877975464,0.055478479713202) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.026062594726682,-0.083861544728279,0.113265976309776,0.019995350390673,-0.024368818849325,0.016388757154346,0.138763561844826,0.038826655596495,0.057880360633135,0.010587517172098,-0.076832279562950,-0.050136193633080,0.022808451205492,0.030932070687413,-0.158674433827400,0.056485977023840) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.010532502084970,-0.043208669871092,0.036552920937538,0.008836002089083,0.009354452602565,-0.004528319928795,0.099136829376221,-0.067415900528431,-0.007167228963226,-0.042271882295609,-0.182906568050385,-0.096747212111950,-0.015876997262239,-0.005510835908353,-0.013089162297547,0.109465889632702) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.078279748558998,0.031044742092490,-0.084477961063385,0.089497216045856,-0.024651004001498,-0.069831088185310,0.183355823159218,-0.103778675198555,0.056700859218836,-0.028945788741112,0.229511752724648,-0.074968621134758,-0.121547713875771,0.046961210668087,-0.089143529534340,-0.017625115811825) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.007741575129330,0.249103620648384,0.028863821178675,-0.045537713915110,-0.204664543271065,-0.037418477237225,-0.027966663241386,0.207395330071449,0.105922974646091,-0.076550945639610,0.148159608244896,0.002408033702523,0.261754274368286,0.211068898439407,-0.133041203022003,0.160024330019951) * MODEL9_texOff(vec2(0,0));
res += mat4(0.008265593089163,0.042918279767036,-0.087421737611294,-0.000091227091616,-0.128526195883751,-0.049522489309311,-0.016837114468217,0.020004604011774,-0.090182386338711,0.107107855379581,-0.053730089217424,-0.100699245929718,-0.166794732213020,-0.130569353699684,-0.021097747609019,0.148532763123512) * MODEL9_texOff(vec2(0,1));
res += mat4(0.092262335121632,-0.097367227077484,-0.138440743088722,-0.040037304162979,0.027329508215189,0.185800418257713,0.101724840700626,-0.123816855251789,-0.059237662702799,0.032347626984119,0.085884004831314,-0.047630466520786,0.037740033119917,-0.219427332282066,-0.131160497665405,0.033780496567488) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.163123697042465,0.116970315575600,-0.195713892579079,-0.039609625935555,-0.029798137024045,-0.036367058753967,0.157616719603539,0.161435961723328,0.123881630599499,-0.028546420857310,-0.043934751302004,0.056262370198965,-0.114550672471523,-0.338278293609619,0.120574265718460,0.062570922076702) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.021421978250146,-0.029959302395582,0.048842009156942,-0.089650169014931,-0.038389146327972,0.036860726773739,-0.077895253896713,-0.041462808847427,-0.065405100584030,0.100917883217335,-0.122162513434887,-0.081290610134602,-0.103024259209633,0.032889589667320,0.024345329031348,0.003735895967111) * MODEL9_texOff(vec2(1,1));
res += mat4(0.048845220357180,-0.020045159384608,-0.049666568636894,0.073581151664257,-0.048213619738817,-0.072712749242783,0.081231608986855,-0.046733763068914,-0.000326297857100,-0.028292287141085,-0.071376070380211,-0.018594557419419,-0.014769924804568,0.039620257914066,-0.014277437701821,-0.053792573511600) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.065747715532780,0.041305214166641,-0.045775178819895,0.033219151198864,0.231213301420212,-0.044296380132437,-0.014383286237717,0.036394141614437,-0.174743562936783,-0.041900243610144,0.062597751617432,-0.108234420418739,0.065568916499615,0.077407754957676,-0.073893517255783,0.055171083658934) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.049653291702271,0.032398857176304,0.025090148672462,0.109002865850925,0.132444873452187,0.018611034378409,-0.058530349284410,0.085560761392117,-0.014155365526676,-0.001424871501513,0.021206591278315,-0.021723061800003,0.030118444934487,-0.022869827225804,0.033694949001074,-0.043122764676809) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.073682665824890,0.056078545749187,0.176409468054771,0.006948108784854,-0.024175953119993,-0.067950189113617,0.032808143645525,0.030642971396446,0.026298403739929,0.074280008673668,-0.024016216397285,-0.096493065357208,-0.139350622892380,-0.046403117477894,0.242007762193680,-0.116546452045441) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.015107771381736,-0.086488537490368,0.021503664553165,0.138672590255737,-0.065158434212208,-0.003998458385468,-0.061275072395802,-0.062745161354542,0.122891128063202,0.002004300244153,0.213963180780411,0.051541842520237,-0.238341793417931,-0.165538296103477,-0.176338300108910,-0.011184145696461) * MODEL10_texOff(vec2(0,0));
res += mat4(0.099395297467709,0.049903802573681,-0.056299127638340,0.103054821491241,0.176849648356438,-0.008902215398848,0.047484304755926,-0.002898919628933,0.046096973121166,-0.040736470371485,-0.062525846064091,-0.144675165414810,0.148311004042625,-0.038448270410299,-0.041166305541992,-0.106406547129154) * MODEL10_texOff(vec2(0,1));
res += mat4(0.047390688210726,-0.027536535635591,-0.037722334265709,0.132940262556076,-0.013310499489307,-0.043680071830750,-0.096363261342049,0.038257781416178,-0.010275550186634,-0.129469469189644,-0.012044465169311,0.020947091281414,-0.057474602013826,0.028027866035700,-0.001009628525935,-0.113217324018478) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.025371756404638,0.133907422423363,0.034896332770586,-0.007319216616452,-0.085179001092911,-0.147788688540459,0.145622387528419,0.019017478451133,0.013379776850343,0.199144333600998,-0.154918491840363,-0.052638255059719,0.054433450102806,0.277972847223282,-0.145262524485588,-0.141003265976906) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.013873909600079,0.026740109547973,0.130482196807861,0.015910269692540,-0.028332823887467,-0.014530377462506,-0.060035355389118,0.005089804064482,0.026382725685835,0.050695136189461,0.010070273652673,0.035699248313904,0.051437731832266,0.096364125609398,0.017343956977129,-0.042180221527815) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.171955943107605,0.001982339192182,0.077389940619469,-0.058290939778090,-0.013988533057272,0.050653636455536,-0.150027096271515,-0.150891199707985,0.093401737511158,-0.054120082408190,-0.067644029855728,-0.150340348482132,0.054085325449705,-0.046238273382187,0.004428039770573,-0.011345328763127) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.324050217866898,-0.158230856060982,0.246953293681145,0.016520930454135,0.023364758118987,0.021764429286122,-0.004022611770779,-0.196999400854111,-0.059613242745399,0.158312499523163,0.017722355201840,-0.097329877316952,0.170736953616142,0.021966991946101,-0.003212329931557,-0.027665857225657) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.038578469306231,0.032819300889969,0.080231145024300,-0.068804219365120,-0.028365004807711,-0.089178837835789,0.044789139181376,0.046036045998335,0.034979034215212,-0.074872680008411,0.037261575460434,0.010534751228988,0.001584170502611,-0.022140374407172,-0.047116957604885,0.016374595463276) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.044388767331839,0.151640921831131,0.023394677788019,0.112267822027206,0.022659227252007,0.182237252593040,-0.119132138788700,-0.036695484071970,0.152688935399055,-0.040603782981634,-0.237091943621635,-0.328283876180649,-0.103067144751549,-0.035425662994385,0.142813414335251,-0.061501655727625) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.009066599421203,0.272271484136581,0.060202579945326,-0.055429328233004,-0.136767834424973,0.281081676483154,-0.097721405327320,-0.165638923645020,-0.191415920853615,0.087585493922234,0.250924050807953,-0.096107594668865,0.378432840108871,-0.005170843563974,-0.076211906969547,0.085641965270042) * MODEL11_texOff(vec2(0,0));
res += mat4(0.104861944913864,0.035351864993572,-0.023138875141740,-0.142557993531227,0.047759391367435,-0.060620937496424,-0.160369634628296,-0.037540018558502,-0.020706521347165,-0.107129454612732,0.069722741842270,0.039024122059345,-0.082048892974854,-0.045817945152521,0.065483674407005,0.009248637594283) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.005729749798775,0.015045418404043,-0.077827185392380,0.004653759300709,-0.034157820045948,-0.027387235313654,-0.132985427975655,0.065923720598221,0.017712483182549,-0.154775902628899,0.032425407320261,-0.089151635766029,-0.016437476500869,0.038203962147236,-0.005338707938790,-0.031797319650650) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.019510529935360,0.219552546739578,-0.120172590017319,-0.080129355192184,-0.128064751625061,-0.026269758120179,-0.075862638652325,-0.066106744110584,0.012713994830847,0.136151731014252,0.143813714385033,-0.057212568819523,0.103936500847340,0.040970701724291,-0.013124281540513,0.076366476714611) * MODEL11_texOff(vec2(1,0));
res += mat4(0.091087870299816,-0.018261898308992,0.080996133387089,0.010951542295516,0.125293910503387,-0.080906242132187,-0.081478156149387,0.027191953733563,-0.031200118362904,-0.097537979483604,0.049900569021702,0.023921912536025,-0.044281233102083,-0.151817813515663,-0.137499377131462,-0.031800147145987) * MODEL11_texOff(vec2(1,1));
res += mat4(0.163562893867493,0.064161315560341,-0.203980639576912,0.063789367675781,0.003105233889073,-0.096831746399403,0.112272322177887,0.065321899950504,0.161135450005531,-0.087595894932747,-0.103681057691574,0.116793259978294,0.028543084859848,0.054171379655600,-0.070068180561066,0.120901793241501) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.121173150837421,0.026696605607867,0.060575533658266,-0.089119993150234,-0.034171309322119,0.062884986400604,0.016640691086650,-0.000853603763971,-0.134250238537788,0.079348534345627,0.133900895714760,0.047222364693880,-0.176934227347374,0.161096602678299,-0.181358158588409,-0.093909204006195) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.068129591643810,0.172726035118103,0.162453413009644,0.004460871219635,-0.021568737924099,0.079639114439487,0.067266963422298,0.100553810596466,0.147567272186279,-0.067415662109852,0.077749818563461,0.091826193034649,0.143278256058693,0.031613308936357,-0.257070928812027,0.070065930485725) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.045775324106216,0.073400482535362,0.137586250901222,-0.080910809338093,0.004928638692945,0.098474822938442,-0.074669219553471,0.099691540002823,-0.037133388221264,0.110033184289932,0.117152482271194,-0.008717244490981,0.042856834828854,-0.026942854747176,-0.160018742084503,0.018709272146225) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.010358768515289,0.042915143072605,0.093073233962059,0.003199451835826,-0.078120209276676,0.031322482973337,0.059499330818653,0.191913366317749,0.167037397623062,0.024042766541243,-0.059333525598049,0.093601383268833,-0.242990016937256,-0.245253756642342,-0.234345346689224,-0.155635774135590) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.000611068739090,0.197517007589340,0.006891988683492,0.101984068751335,0.019332543015480,0.035499434918165,-0.015539206564426,0.059322975575924,-0.101943150162697,-0.035988900810480,-0.008753113448620,0.018626028671861,0.167719393968582,0.008568896912038,-0.188814416527748,-0.157871991395950) * MODEL12_texOff(vec2(0,1));
res += mat4(0.040003985166550,0.057200554758310,0.140491649508476,0.031212043017149,-0.038061425089836,-0.050511911511421,0.126949310302734,0.011088732630014,-0.067867450416088,-0.012639879249036,0.328311592340469,-0.134154617786407,-0.034032046794891,0.019460380077362,-0.001181392697617,-0.005419074557722) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.098969891667366,0.168435394763947,0.268303275108337,0.024107430130243,-0.001112391706556,-0.274798363447189,0.161245882511139,0.116276301443577,0.148395568132401,0.049337785691023,-0.236020594835281,0.255472779273987,-0.017463894560933,0.009907337836921,-0.077130578458309,-0.037215609103441) * MODEL12_texOff(vec2(1,0));
res += mat4(0.070580706000328,0.110711060464382,0.064732611179352,-0.092740468680859,-0.084879055619240,-0.092823669314384,-0.016495868563652,0.025878317654133,-0.157522678375244,0.003820928744972,-0.043196260929108,-0.017441881820560,0.044934615492821,-0.093141905963421,0.083553440868855,-0.022689120844007) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.003991761244833,0.000038578160456,0.056493710726500,0.053436495363712) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL7
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 8_1

vec4 hook()
{
vec4 res = vec4(-0.169945463538170,-0.280920803546906,0.019431898370385,0.015081214718521);
res += mat4(0.010464144870639,0.050821714103222,-0.064033411443233,-0.047547273337841,-0.161638617515564,0.007330809719861,0.059551127254963,-0.069034524261951,-0.019064895808697,0.043310310691595,0.056521087884903,-0.003615608671680,0.153547182679176,-0.000563374022022,0.002352821873501,0.079001374542713) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.014345054514706,-0.017096037045121,-0.053025055676699,-0.038549777120352,0.047549761831760,-0.018540913239121,0.108646817505360,0.108950920403004,-0.054607894271612,0.011513232253492,-0.035573061555624,0.052723381668329,0.203494817018509,0.022541079670191,-0.025005433708429,0.181362271308899) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.029556512832642,-0.032157875597477,-0.005908744409680,-0.084261849522591,-0.027480466291308,-0.031816035509109,-0.084024079144001,0.034795291721821,0.105855852365494,0.058586195111275,0.025322159752250,-0.019322052598000,-0.003748128889129,0.023793103173375,0.046673953533173,0.037534274160862) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.008542690426111,0.010382216423750,0.028420668095350,0.080530472099781,-0.097777456045151,-0.058190040290356,-0.036669615656137,-0.017187135294080,0.072795465588570,0.032334614545107,-0.029312459751964,-0.080331407487392,0.092657305300236,-0.073296710848808,0.061319619417191,0.016533421352506) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.027793984860182,0.026091830804944,-0.129787832498550,-0.070865057408810,-0.029290189966559,0.016629759222269,-0.262179851531982,-0.169577926397324,-0.084545515477657,0.090026751160622,0.196745485067368,-0.114505961537361,0.167090028524399,-0.134705781936646,0.182667195796967,-0.151475504040718) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.029772154986858,-0.000893219024874,-0.035272985696793,-0.032249413430691,-0.023274017497897,0.031290769577026,-0.075385317206383,-0.151873722672462,0.047747801989317,-0.020215399563313,0.087379515171051,0.010504257865250,0.034028254449368,0.014678184874356,-0.093933597207069,-0.103948667645454) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.013924507424235,0.134519308805466,0.003485375083983,0.002197667257860,0.040982574224472,-0.036278169602156,-0.120392516255379,-0.097416803240776,0.008534989319742,-0.100803144276142,0.052638884633780,-0.035811897367239,-0.027779586613178,-0.061761133372784,0.113088168203831,0.105067372322083) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.139036297798157,0.111511178314686,0.008319945074618,0.119100533425808,-0.048503734171391,-0.049931496381760,0.096242375671864,-0.042395271360874,0.093266464769840,-0.128590047359467,0.058601897209883,0.007693830877542,-0.130764871835709,0.026300814002752,-0.017303997650743,0.119465351104736) * MODEL1_texOff(vec2(1,0));
res += mat4(0.039173204451799,-0.020173266530037,0.034451130777597,0.018763031810522,0.054697938263416,-0.064142644405365,0.114062696695328,0.007406490389258,-0.093205675482750,-0.086948111653328,-0.051568742841482,0.059400152415037,-0.119031332433224,0.050855956971645,0.027604293078184,0.063659839332104) * MODEL1_texOff(vec2(1,1));
res += mat4(0.049925033003092,0.033720176666975,-0.000016957885236,-0.049149170517921,-0.010641178116202,0.045377407222986,0.035464145243168,0.050280164927244,-0.076723784208298,-0.010135655291378,-0.098848432302475,-0.087812855839729,-0.078427292406559,0.028049046173692,0.042856641113758,0.013054318726063) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.271093964576721,-0.028826422989368,0.077794507145882,0.018695225939155,0.036464475095272,-0.003946730401367,-0.028254916891456,-0.013547853566706,0.198242560029030,-0.010104542598128,0.076363198459148,0.124075628817081,-0.097959205508232,-0.040246170014143,0.012615158222616,-0.039141573011875) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.039216071367264,-0.038939077407122,0.031270936131477,0.087125420570374,-0.009062236174941,0.053770411759615,-0.031293477863073,-0.078429758548737,0.001831731526181,-0.005213072057813,0.005166331771761,0.060292899608612,0.028488110750914,0.003564449260011,0.040492922067642,0.030554486438632) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.029443947598338,-0.011682753451169,-0.125345841050148,-0.051047634333372,0.026607552543283,-0.050096921622753,0.068077743053436,0.063352435827255,0.053343452513218,-0.018651733174920,-0.020858585834503,0.000944152940065,-0.007617342285812,0.000653659692034,-0.055825516581535,0.004879083018750) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.241406694054604,-0.041061770170927,-0.048308618366718,0.229888066649437,-0.168214619159698,0.120409749448299,0.164053231477737,0.079740107059479,0.264148175716400,-0.039259567856789,-0.096056222915649,-0.233581513166428,-0.172221064567566,-0.089583441615105,-0.142201319336891,-0.189324066042900) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.031944062560797,0.020237188786268,0.068851314485073,0.055379506200552,-0.045144069939852,0.161504507064819,-0.072078421711922,-0.103361256420612,0.040371831506491,0.081182502210140,-0.048192545771599,-0.023466978222132,0.005406685173512,-0.069043323397636,0.018473144620657,0.065670408308506) * MODEL2_texOff(vec2(0,1));
res += mat4(0.030600732192397,-0.060798875987530,-0.053003598004580,-0.057277798652649,-0.042084693908691,-0.003831096924841,0.060339234769344,0.029960419982672,-0.291299372911453,-0.160384386777878,0.016559779644012,0.101218976080418,0.011291391216218,0.055811088532209,0.001681693829596,-0.032064788043499) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.086903296411037,-0.040596783161163,-0.034422449767590,0.012641688808799,0.029212472960353,0.229125946760178,-0.071145683526993,0.014601492322981,-0.299565702676773,0.019080704078078,-0.190459519624710,0.303700566291809,0.078348919749260,-0.217684134840965,0.056160513311625,-0.030523525550961) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.009484559297562,0.012164870277047,0.025783292949200,0.007384564727545,0.056781284511089,0.128682389855385,-0.023590091615915,-0.010447772219777,-0.016841607168317,-0.011375390924513,-0.055262334644794,0.066217735409737,0.046356689184904,-0.023894669488072,0.003855771152303,0.001803610939533) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.031634211540222,-0.051340665668249,-0.083703294396400,-0.015200023539364,0.020278319716454,0.039756000041962,0.080528534948826,0.080171905457973,0.143616348505020,0.043631993234158,-0.035491473972797,0.013316471129656,-0.105876155197620,-0.095543250441551,-0.082114532589912,-0.015827491879463) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.081048391759396,0.027301320806146,-0.037920854985714,0.138517066836357,0.023696359246969,0.039096303284168,0.024329856038094,0.055074296891689,0.009138987399638,0.028683463111520,0.057049401104450,0.192023187875748,0.150956317782402,0.044085826724768,0.153895020484924,0.244782924652100) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.083668373525143,-0.029806749895215,0.070529170334339,0.041543636471033,0.073016099631786,-0.021863689646125,0.001879033166915,0.076151050627232,-0.203940510749817,0.023433132097125,0.046526871621609,-0.064271375536919,-0.012342401780188,-0.017490310594440,-0.111240677535534,0.114225879311562) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.072342865169048,-0.086044237017632,0.052994113415480,-0.000096900825156,-0.045450944453478,-0.121074706315994,0.073391772806644,-0.004912817850709,-0.071357227861881,0.018101857975125,-0.062939167022705,0.066971823573112,-0.090297318994999,-0.049726877361536,-0.019550170749426,0.044129371643066) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.194923654198647,0.031391449272633,0.290996581315994,-0.147965505719185,-0.008563079871237,0.103160001337528,0.302620708942413,0.162776216864586,-0.139974623918533,0.174709379673004,0.002924422733486,-0.091299109160900,-0.067785695195198,-0.013147311285138,0.010785181075335,-0.079838745296001) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.010139886289835,-0.008043712936342,-0.026947215199471,0.019865995272994,0.025705654174089,0.029556801542640,0.074924029409885,0.024494882673025,-0.146162346005440,0.054137028753757,-0.026770703494549,0.090921171009541,-0.062721341848373,0.058440927416086,-0.012743556872010,0.047790173441172) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.004024406429380,-0.089526154100895,0.068852327764034,0.003341938368976,0.068410791456699,-0.015451645478606,0.041251327842474,-0.102343596518040,-0.022656707093120,0.058997631072998,0.105438679456711,0.018479384481907,0.007363473996520,-0.141385436058044,-0.029658064246178,0.026268081739545) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.139552518725395,0.067313157021999,-0.049781087785959,0.073172681033611,0.114774025976658,0.000092909845989,0.179634988307953,-0.277199596166611,0.044425796717405,0.048476681113243,0.035322554409504,0.119758650660515,0.034533616155386,0.064876206219196,0.032833889126778,0.121624410152435) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.010820553638041,-0.001671263715252,-0.042649012058973,0.009302586317062,0.044722352176905,-0.009506097994745,0.092736482620239,0.019040122628212,-0.051454670727253,-0.005810283124447,0.010082445107400,-0.004264306742698,0.072271518409252,-0.025016900151968,-0.067428909242153,0.130504384636879) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.232551559805870,0.046874180436134,0.061398644000292,-0.028097338974476,-0.045698117464781,-0.032439868897200,-0.019952181726694,-0.107496224343777,-0.119813397526741,-0.031060390174389,-0.013229528442025,0.013927136547863,-0.043756470084190,-0.088684700429440,-0.006160323042423,-0.021976731717587) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.010182893835008,0.015113216824830,0.006640897598118,0.131682425737381,-0.007180635817349,0.040849070996046,-0.009732702746987,-0.069198124110699,-0.090314120054245,0.019476469606161,-0.060323599725962,-0.020194094628096,-0.168733894824982,-0.105055503547192,-0.218041852116585,-0.328758180141449) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.030786795541644,-0.025100486353040,0.089876316487789,-0.019129054620862,0.113386563956738,-0.019211879000068,0.068181052803993,0.025112681090832,-0.220292642712593,0.026875060051680,0.103235416114330,-0.008643662557006,0.035664748400450,0.032140079885721,-0.090091988444328,-0.151810660958290) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.024698691442609,-0.080937668681145,0.154190123081207,0.126515075564384,0.065292634069920,-0.096900768578053,-0.020497735589743,0.012830368243158,0.129930242896080,0.011580293066800,-0.039593901485205,-0.083272710442543,0.031824622303247,-0.063758634030819,-0.135398522019386,0.044159732758999) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.005866705905646,0.069408208131790,0.331817984580994,-0.070478640496731,0.001625365111977,-0.034434981644154,-0.064603447914124,-0.051834993064404,0.128646761178970,-0.043587639927864,-0.002354895230383,0.018447631970048,-0.119468681514263,0.123903043568134,-0.105328276753426,0.174363300204277) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.035145249217749,0.041400887072086,-0.206932976841927,-0.135627686977386,0.048026751726866,-0.052904818207026,-0.114169038832188,-0.024398034438491,0.050337612628937,0.025774486362934,-0.032189156860113,-0.104642823338509,0.038348171859980,-0.079216681420803,-0.066935092210770,0.042043972760439) * MODEL4_texOff(vec2(0,1));
res += mat4(0.046722602099180,0.025956971570849,-0.029891930520535,0.062736026942730,-0.008965116925538,0.050209932029247,0.027122279629111,0.017518352717161,0.066423736512661,-0.070360325276852,-0.027577994391322,-0.050802223384380,-0.040546629577875,-0.080949202179909,0.036799460649490,-0.070507816970348) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.087366856634617,0.099245592951775,-0.061265636235476,-0.047795582562685,0.182481884956360,-0.043465346097946,-0.067377813160419,0.013281087391078,0.080654017627239,0.015036992728710,0.022800266742706,0.009104579687119,-0.164310842752457,0.098987653851509,-0.074398450553417,0.136267006397247) * MODEL4_texOff(vec2(1,0));
res += mat4(0.074885152280331,0.103648617863655,0.017640478909016,-0.177590429782867,0.118377298116684,0.041068721562624,0.012157976627350,-0.044655088335276,0.028893688693643,0.020290583372116,-0.020679265260696,0.033312376588583,-0.042338725179434,-0.019651729613543,-0.036747425794601,0.041514549404383) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.035995140671730,-0.030517561361194,0.036406744271517,0.003873751498759,-0.012728803791106,-0.020052386447787,-0.022026637569070,-0.010924289003015,0.187071606516838,-0.015178778208792,0.004349135328084,0.049012228846550,-0.025746153667569,-0.013363608159125,0.043005608022213,0.016580209136009) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.074129775166512,0.021537689492106,-0.027001550421119,-0.035029366612434,-0.044425122439861,0.051564194262028,0.125437930226326,0.133426696062088,0.049292206764221,0.011589611880481,0.095977440476418,0.005536186043173,-0.263074457645416,-0.087129555642605,0.061169806867838,-0.151088938117027) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.046881075948477,-0.001771222450770,-0.093196719884872,-0.002779252361506,-0.098912231624126,0.036508414894342,-0.007186836563051,-0.042414721101522,0.007771032396704,-0.038901817053556,-0.032291404902935,0.031377486884594,-0.063597999513149,-0.005759944207966,0.054620869457722,0.026158506050706) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.048694945871830,-0.056546337902546,0.134503096342087,0.045005209743977,0.025801500305533,-0.040457092225552,-0.072111137211323,-0.038033682852983,0.120039738714695,0.066615357995033,-0.024067051708698,-0.065808638930321,0.067657768726349,-0.024469509720802,0.030028752982616,0.094683535397053) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.094617322087288,0.062290143221617,-0.126706197857857,0.263130635023117,0.085003316402435,0.128656193614006,-0.021001610904932,0.026834467425942,0.131263673305511,0.101313948631287,-0.210790827870369,0.175702422857285,0.179109156131744,0.035332057625055,-0.196860924363136,-0.077363625168800) * MODEL5_texOff(vec2(0,0));
res += mat4(0.101826794445515,-0.011258048005402,-0.007551244460046,-0.156433016061783,-0.178121581673622,0.062036432325840,-0.048907458782196,0.137147784233093,0.143600925803185,-0.032279033213854,0.066233806312084,0.101298049092293,0.014078646898270,-0.047205355018377,0.126855984330177,0.171400144696236) * MODEL5_texOff(vec2(0,1));
res += mat4(0.038706272840500,-0.252277880907059,-0.128154247999191,0.026466334238648,-0.008783644996583,-0.143719092011452,-0.021349668502808,-0.002618237631395,0.029728246852756,0.029769893735647,0.289733022451401,-0.046054065227509,-0.057103276252747,-0.076106950640678,0.115016132593155,0.102046735584736) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.025089228525758,0.216700673103333,0.039711698889732,-0.043475940823555,-0.008480913937092,-0.005327008198947,-0.064665354788303,-0.029198890551925,-0.034712653607130,-0.025665992870927,0.011906458064914,0.140016630291939,-0.067600943148136,-0.077032387256622,0.013416245579720,0.062375064939260) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.047079402953386,-0.019959118217230,-0.083108238875866,0.028467027470469,-0.015031337738037,0.047351006418467,-0.006688036490232,-0.041073631495237,0.019221976399422,-0.108121454715729,0.114925429224968,0.027231004089117,0.009640698321164,0.015918349847198,-0.036073002964258,0.085862196981907) * MODEL5_texOff(vec2(1,1));
res += mat4(0.020509021356702,-0.007426552008837,0.008032988756895,0.014639202505350,0.109793692827225,0.070708014070988,0.046434517949820,-0.060680553317070,0.130399748682976,0.062052551656961,0.024925120174885,0.018962677568197,-0.055128239095211,0.111096292734146,-0.008431363850832,0.042121909558773) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.030096109956503,-0.036057434976101,0.052643649280071,0.076348565518856,0.035426113754511,-0.015743035823107,0.071248665452003,0.044468250125647,-0.041694499552250,0.024485163390636,0.049006186425686,-0.113184720277786,-0.199641823768616,0.054495643824339,0.095785431563854,0.068966858088970) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.017232406884432,0.060510721057653,-0.016723986715078,0.064966037869453,0.076626121997833,0.018177408725023,0.019962849095464,0.035271778702736,0.039523009210825,0.024634540081024,-0.047034580260515,0.028814794495702,-0.223256781697273,-0.025110246613622,-0.011216484941542,0.081667087972164) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.007423303555697,-0.023676645010710,-0.165395051240921,-0.038223385810852,0.105139799416065,0.111457429826260,-0.108140543103218,0.015295245684683,-0.009278193116188,-0.066363230347633,-0.046060986816883,0.085323348641396,0.022314496338367,0.001587384613231,0.034396041184664,0.048659846186638) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.066447630524635,-0.005849549081177,0.041281808167696,0.063421584665775,-0.069418460130692,-0.190687373280525,0.117589570581913,-0.287940949201584,-0.158606573939323,-0.101780623197556,0.056740783154964,0.131364971399307,-0.014502299949527,0.107738070189953,-0.188426405191422,-0.058399278670549) * MODEL6_texOff(vec2(0,0));
res += mat4(0.041443496942520,-0.110434509813786,0.144929036498070,0.284789651632309,0.053089112043381,-0.084702886641026,0.033264905214310,-0.003515703603625,0.051066428422928,-0.019264090806246,0.019209071993828,-0.108521960675716,0.003128254553303,0.106329232454300,0.040782794356346,0.017814001068473) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.017361337319016,-0.126487269997597,0.067133963108063,0.031357519328594,-0.123788952827454,-0.064124897122383,-0.004020995926112,0.062066789716482,0.210753813385963,-0.120641835033894,-0.017720125615597,-0.002322789514437,0.037416074424982,0.009118160232902,-0.038209334015846,-0.053003355860710) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.012349921278656,-0.145846411585808,-0.032770432531834,0.145480632781982,-0.035340491682291,-0.013563431799412,0.079386144876480,-0.002392443828285,0.139633387327194,0.010421422310174,0.024086857214570,0.078094892203808,0.022902308031917,-0.307083129882813,0.075611710548401,-0.077001668512821) * MODEL6_texOff(vec2(1,0));
res += mat4(0.025043949484825,0.004594927653670,-0.054324775934219,0.093308053910732,-0.054013676941395,-0.027482790872455,0.034710630774498,0.073751874268055,0.037853851914406,0.082124143838882,-0.071284033358097,-0.043594356626272,-0.010711571201682,-0.115307584404945,-0.039378438144922,-0.055102597922087) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.175856530666351,0.045935485512018,0.706161677837372,0.733773469924927) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL8
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 8_2

vec4 hook()
{
vec4 res = vec4(-0.206016749143600,-0.151583358645439,-0.049875073134899,-0.022575689479709);
res += mat4(0.019078994169831,-0.001810157555155,-0.057971682399511,0.039693132042885,-0.030292421579361,0.028055699542165,-0.069018676877022,-0.076395101845264,0.051129274070263,0.010512937791646,-0.043169137090445,0.112094804644585,0.056597124785185,-0.007657893002033,-0.127002939581871,0.057410709559917) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.172451183199883,0.057011719793081,0.161319196224213,-0.320057302713394,-0.035522188991308,0.019674645736814,-0.039590924978256,-0.006826019845903,-0.086483933031559,0.095519818365574,0.007454515434802,-0.294892787933350,-0.089605502784252,0.138205930590630,0.062647826969624,-0.014354011043906) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.086299486458302,-0.005491393152624,-0.011168899945915,-0.016353022307158,0.033560805022717,-0.038330499082804,0.132089421153069,-0.091768749058247,-0.048239648342133,0.143275216221809,0.059488579630852,-0.037057485431433,-0.016034254804254,-0.074113212525845,0.020970873534679,-0.019809965044260) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.077486716210842,0.082630433142185,-0.036768145859241,-0.038236539810896,-0.002217903733253,-0.028781140223145,-0.056451350450516,0.170160025358200,-0.083249136805534,0.099025897681713,0.031398080289364,-0.101369246840477,0.011508121155202,-0.057995621114969,0.269823014736176,-0.104837693274021) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.170117527246475,-0.196489095687866,-0.209782227873802,-0.325877159833908,-0.082715898752213,0.217024877667427,0.045993003994226,-0.365811347961426,0.124915964901447,-0.306621193885803,-0.171860083937645,-0.115033201873302,-0.047175731509924,-0.126446887850761,0.325525075197220,0.210401743650436) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.009947128593922,-0.001938814995810,-0.029603982344270,0.031689878553152,0.072823502123356,0.102920338511467,-0.168860301375389,-0.230643332004547,-0.041682567447424,0.013043861836195,0.098589994013309,-0.165528178215027,0.006672531832010,0.054712980985641,0.138111501932144,-0.091725371778011) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.034119535237551,0.002237911801785,-0.013420570641756,-0.027917535975575,-0.014454172924161,-0.024788344278932,-0.061000902205706,0.060267377644777,-0.007205282337964,0.060156911611557,0.050399325788021,-0.048910796642303,0.077409543097019,0.086764283478260,0.198632851243019,0.058368671685457) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.012823506258428,-0.046890191733837,-0.192983791232109,-0.123516507446766,-0.070370778441429,-0.045846324414015,-0.025354087352753,-0.135273993015289,-0.042373642325401,0.149249151349068,0.075969524681568,-0.071139924228191,-0.022156948223710,-0.033815953880548,0.181870251893997,0.062504529953003) * MODEL1_texOff(vec2(1,0));
res += mat4(0.073415845632553,-0.017359854653478,0.025501362979412,0.031400043517351,-0.115173250436783,0.008295049890876,0.078451588749886,0.015919502824545,-0.076926231384277,0.126560956239700,0.037662722170353,-0.154284790158272,0.009557019919157,0.023024762049317,0.037098005414009,0.073721699416637) * MODEL1_texOff(vec2(1,1));
res += mat4(0.037702433764935,-0.067388467490673,-0.191911488771439,-0.030651075765491,-0.042420510202646,0.071657970547676,0.022770466282964,-0.037814933806658,0.090440154075623,-0.067421779036522,-0.064459629356861,0.016808547079563,0.142663985490799,-0.046078018844128,-0.011584327556193,0.078408323228359) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.011534302495420,0.057147122919559,-0.142049506306648,0.010724302381277,0.099964551627636,-0.040889061987400,-0.045001495629549,0.066784620285034,-0.048193521797657,0.018651064485312,-0.088237978518009,-0.071226701140404,-0.184868261218071,0.050362821668386,0.121001817286015,-0.227206721901894) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.023634649813175,-0.016576202586293,0.025670032948256,0.044209469109774,0.042601991444826,-0.054033566266298,-0.000170314655406,0.053052701056004,0.062621958553791,-0.016534071415663,-0.056855581700802,0.020037854090333,-0.134542509913445,0.091840267181396,-0.026679687201977,0.127616092562675) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.065684922039509,0.007007410749793,0.051492936909199,0.134370982646942,-0.050732634961605,-0.068756900727749,-0.075326137244701,-0.040437001734972,0.045109596103430,-0.002508901990950,-0.054888304322958,0.136322826147079,-0.006147928070277,0.068574331700802,0.112891465425491,0.131683215498924) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.131215021014214,0.007273051422089,-0.014181626029313,0.114849746227264,-0.030882045626640,0.073494203388691,0.071134291589260,0.091262146830559,0.164184316992760,-0.127682566642761,0.106880225241184,-0.007421256043017,0.040097132325172,-0.140825793147087,-0.222855240106583,-0.277031451463699) * MODEL2_texOff(vec2(0,0));
res += mat4(0.023767620325089,0.055489756166935,0.003378819907084,-0.003125800052658,0.090232968330383,0.108556888997555,-0.079773858189583,0.122652374207973,-0.090189695358276,-0.004227219149470,0.008332146331668,-0.015604359097779,-0.102895259857178,-0.096833981573582,0.013049144297838,-0.029816621914506) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.055526681244373,-0.035951770842075,-0.037293355911970,0.025525324046612,-0.037978705018759,0.042124487459660,0.034857917577028,-0.136978641152382,0.045077148824930,-0.034048624336720,-0.058131076395512,-0.055722642689943,0.004669378045946,-0.037383221089840,-0.138836145401001,0.013076402246952) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.009710086509585,-0.055398445576429,0.062760390341282,-0.100725792348385,-0.095863610506058,0.031814862042665,-0.183490127325058,0.031594052910805,-0.165717288851738,0.088424257934093,-0.066215813159943,-0.047541201114655,-0.044815350323915,0.060471054166555,0.044391736388206,0.057601541280746) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.033125866204500,-0.014628580771387,-0.015620711259544,-0.014543499797583,-0.085802748799324,0.041952673345804,-0.011834405362606,0.025742461904883,0.080665312707424,0.000917039636988,-0.062928818166256,-0.030643237754703,-0.134239166975021,0.006882176268846,0.034049812704325,-0.079505845904350) * MODEL2_texOff(vec2(1,1));
res += mat4(0.093769766390324,0.010834433138371,-0.112042032182217,0.215007871389389,0.002941087586805,-0.032905064523220,-0.080842994153500,-0.060236729681492,0.039110202342272,-0.079983785748482,-0.061948407441378,0.128458514809608,-0.097862854599953,-0.009641539305449,0.048445623368025,-0.039940781891346) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.058229234069586,0.129076197743416,0.069967798888683,-0.185315221548080,-0.152774706482887,0.019872738048434,-0.097226560115814,-0.095665372908115,0.069940462708473,0.089827947318554,0.010755943134427,0.082218199968338,-0.021156549453735,-0.025129368528724,-0.064783446490765,-0.092287659645081) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.100354813039303,-0.013200903311372,-0.027591496706009,0.094370357692242,0.057765990495682,-0.120020739734173,0.003204602515325,0.050650235265493,-0.070104941725731,-0.011508110910654,0.061947040259838,-0.053652372211218,0.046567432582378,-0.039712570607662,0.027987385168672,0.020633399486542) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.000314028759021,0.049100566655397,0.011402899399400,-0.032453306019306,-0.020801741629839,-0.175622880458832,-0.171290829777718,-0.041238315403461,-0.039033100008965,0.117108024656773,0.111778497695923,0.039574768394232,-0.118044622242451,-0.026821106672287,-0.097032822668552,-0.145969703793526) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.056691601872444,0.001465825829655,0.095891229808331,-0.154741868376732,-0.203602060675621,0.061501063406467,-0.022589851170778,0.013631344772875,0.122770905494690,-0.132078737020493,0.236643031239510,0.069191165268421,0.145973935723305,0.004557094536722,0.175520986318588,-0.084457136690617) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.025763014331460,0.099786125123501,0.030960546806455,0.081337086856365,0.040695056319237,-0.085518173873425,0.056928332895041,-0.020998520776629,-0.110357761383057,-0.039187207818031,0.013665982522070,-0.033902127295732,0.037927776575089,-0.040502492338419,-0.020958106964827,-0.083934098482132) * MODEL3_texOff(vec2(0,1));
res += mat4(0.018480699509382,0.043009337037802,0.185726836323738,-0.067626886069775,0.017791500315070,-0.072151236236095,-0.014909002929926,0.187548607587814,0.046291347593069,-0.002244717907161,0.000040811661165,-0.035657800734043,-0.064814366400242,0.004649763926864,-0.129801601171494,-0.029032252728939) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.063738293945789,-0.022081157192588,-0.012308443896472,0.062815040349960,0.107384771108627,-0.021067120134830,0.062683932483196,-0.126557067036629,0.009436536580324,0.070697560906410,-0.008001750335097,0.068089902400970,0.004946414381266,-0.072919040918350,-0.024575488641858,-0.045530375093222) * MODEL3_texOff(vec2(1,0));
res += mat4(0.042347915470600,0.067790426313877,-0.005840376019478,0.014518352225423,0.084917470812798,-0.016179509460926,0.044658396393061,0.113243609666824,-0.037772472947836,0.001857946277596,-0.013739056885242,-0.014578871428967,-0.044978473335505,-0.137987270951271,-0.078478001058102,-0.201531454920769) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.096382655203342,0.119148112833500,-0.000538942869753,-0.156378537416458,0.078143037855625,-0.067100539803505,-0.060015361756086,0.031627137213945,0.022475671023130,-0.021183587610722,-0.036134991794825,-0.038758404552937,-0.045470926910639,-0.005266781430691,0.211717873811722,-0.043085578829050) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.078991144895554,0.017646064981818,-0.024857996031642,0.079541325569153,0.065894186496735,0.052340783178806,-0.001036615809426,0.061679869890213,-0.170958161354065,-0.068335346877575,0.006888322066516,-0.329924046993256,0.038962662220001,-0.061991579830647,0.012484084814787,-0.031188501045108) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.055374637246132,-0.041328571736813,0.004624176770449,-0.054130606353283,-0.050713751465082,-0.065730698406696,0.034272249788046,-0.049437839537859,-0.024163544178009,-0.005079376976937,0.025545058771968,-0.119634196162224,0.016022209078074,0.026776921004057,-0.017816569656134,0.083645433187485) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.066187039017677,-0.175450980663300,-0.071112044155598,-0.250564664602280,0.011858617886901,-0.011099431663752,-0.010803422890604,0.126736208796501,0.111479662358761,-0.159712210297585,-0.125820353627205,0.116395011544228,-0.036175359040499,-0.074632443487644,0.254346936941147,0.077990487217903) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.127134710550308,0.082459077239037,-0.146065488457680,0.175128951668739,-0.145047426223755,-0.040493652224541,-0.098146207630634,-0.150983303785324,-0.030404023826122,-0.034541763365269,0.019088018685579,0.159589678049088,-0.106327228248119,0.019412007182837,0.101393647491932,-0.264060914516449) * MODEL4_texOff(vec2(0,0));
res += mat4(0.050476443022490,0.088658861815929,-0.091791860759258,-0.003645470133051,0.011501208879054,0.059018418192863,-0.078680917620659,-0.233875393867493,0.109579481184483,-0.072168625891209,-0.119502797722816,-0.195056006312370,0.042140789330006,-0.066395319998264,0.050949417054653,-0.022533576935530) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.028862992301583,0.076028145849705,0.016441004350781,-0.075145065784454,-0.070179581642151,-0.090490587055683,-0.051320582628250,-0.052827917039394,0.091470748186111,0.093220233917236,0.048379629850388,0.106068335473537,-0.014319543726742,-0.037232201546431,0.011513987556100,0.020876143127680) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.110470831394196,-0.034800231456757,-0.051387809216976,0.085654854774475,-0.025013728067279,-0.017796486616135,0.015919651836157,-0.010450726374984,0.134328261017799,-0.090046122670174,0.132376998662949,0.303235948085785,-0.049356680363417,-0.016086386516690,-0.173718780279160,-0.081170991063118) * MODEL4_texOff(vec2(1,0));
res += mat4(0.048554699867964,0.010590027086437,0.022567750886083,-0.158443406224251,0.141530036926270,-0.073237441480160,0.116219334304333,-0.047416213899851,0.026967808604240,0.011267360299826,-0.004750926513225,0.090008892118931,0.032574806362391,-0.059373199939728,0.013896315358579,0.042273022234440) * MODEL4_texOff(vec2(1,1));
res += mat4(0.038104224950075,-0.012709040194750,0.176603719592094,-0.002854875987396,0.091695673763752,-0.099422633647919,-0.014425843954086,0.047922097146511,0.030585182830691,0.071071453392506,-0.015241062268615,0.047837708145380,-0.059662066400051,0.002326582092792,0.089288026094437,0.020046580582857) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.217171981930733,-0.108666263520718,0.041816912591457,0.195226505398750,-0.006437035277486,0.020347589626908,-0.024113817140460,-0.010435364209116,0.101384818553925,-0.084332466125488,0.030524415895343,0.206040129065514,0.130513548851013,-0.080548524856567,0.125020429491997,-0.051325138658285) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.068853594362736,-0.040782514959574,-0.057926628738642,-0.140274301171303,0.081290304660797,-0.004449639469385,0.102666810154915,0.260000348091125,0.037970487028360,0.049553737044334,0.020401526242495,0.070466503500938,-0.066902428865433,0.018719440326095,-0.039602831006050,0.095257148146629) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.017542695626616,-0.014676870778203,-0.317320585250854,-0.109689906239510,0.040283765643835,-0.102893367409706,0.129737854003906,0.155375927686691,0.132621780037880,0.164781019091606,0.051907081156969,0.065772920846939,-0.009511857293546,0.014099442400038,-0.224923536181450,-0.135095134377480) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.278809875249863,0.189714983105659,0.043903823941946,0.251590907573700,0.106700174510479,-0.011544950306416,0.096233278512955,-0.096374087035656,0.087807059288025,0.264610022306442,-0.037198297679424,-0.024948336184025,0.249475523829460,0.078121207654476,-0.230283200740814,0.005809953436255) * MODEL5_texOff(vec2(0,0));
res += mat4(0.048679489642382,0.003629734972492,0.013270916417241,0.110154606401920,0.065951757133007,0.158539816737175,-0.164778992533684,0.155292570590973,-0.027998201549053,-0.081203207373619,-0.038640424609184,0.114854380488396,-0.175211042165756,-0.049656447023153,0.051199488341808,0.092823460698128) * MODEL5_texOff(vec2(0,1));
res += mat4(0.023039046674967,-0.072304837405682,0.077725730836391,-0.066803328692913,-0.054677698761225,0.010235197842121,0.006417336408049,0.124404832720757,-0.096011295914650,0.022661287337542,0.098241657018661,0.073442995548248,-0.030664781108499,0.010614275000989,0.106586806476116,-0.157597988843918) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.067620418965816,-0.019247103482485,0.017722681164742,0.084845103323460,0.191259339451790,0.042550574988127,0.008790528401732,0.082932323217392,0.029356662184000,0.154646873474121,0.025166517123580,0.116443112492561,-0.064353182911873,-0.016714295372367,-0.059775222092867,0.062545068562031) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.067001953721046,-0.085308149456978,0.006645719055086,-0.035129502415657,0.021429374814034,-0.003893302055076,0.004556528758258,0.031707193702459,0.014323842711747,0.062219463288784,0.029993150383234,-0.051035884767771,-0.053548730909824,-0.025809466838837,-0.081740163266659,-0.080119185149670) * MODEL5_texOff(vec2(1,1));
res += mat4(0.046596273779869,0.018680989742279,-0.042679771780968,-0.027716489508748,0.002185956574976,0.172620207071304,-0.102996081113815,-0.055910386145115,-0.042681183665991,0.113435730338097,0.038162428885698,0.086370609700680,-0.036472007632256,0.066204763948917,-0.034926060587168,-0.007664293050766) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.067702464759350,-0.004555152263492,0.004636142402887,-0.073344923555851,-0.267108201980591,-0.069726794958115,-0.403174906969070,-0.443343818187714,-0.092119015753269,-0.039914790540934,-0.068394027650356,0.107297696173191,0.073595955967903,0.013382739387453,-0.062777630984783,-0.026271887123585) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.043474037200212,0.053561519831419,-0.032878633588552,0.024086963385344,0.091262333095074,-0.003255799179897,-0.006549765821546,0.087035335600376,-0.073740467429161,0.004774166736752,-0.060306709259748,-0.144027978181839,-0.046931594610214,0.003801846876740,0.022492699325085,-0.066799812018871) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.130836784839630,-0.078423082828522,0.050211787223816,-0.054029695689678,0.138523668050766,0.178235262632370,0.110826395452023,-0.136797815561295,0.096208520233631,-0.108045600354671,-0.174883544445038,-0.174201563000679,0.076490387320518,-0.043490678071976,-0.106980107724667,0.015247062779963) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.087091110646725,-0.253083050251007,-0.163681551814079,0.029591776430607,0.024692183360457,0.116366095840931,0.112946882843971,-0.062388483434916,-0.208406627178192,0.144250348210335,-0.187933027744293,-0.029047276824713,0.176400944590569,0.155014932155609,-0.310107231140137,-0.205174222588539) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.193260490894318,-0.092698395252228,0.054863128811121,-0.002026592381299,0.006751197390258,0.048635318875313,0.013876020908356,-0.056453090161085,0.023960815742612,0.019184954464436,0.014857649803162,-0.153862208127975,-0.046773344278336,0.025732487440109,-0.068018928170204,-0.075848214328289) * MODEL6_texOff(vec2(0,1));
res += mat4(0.067227095365524,-0.057610560208559,-0.099442198872566,0.027810273692012,0.031867839396000,0.061723880469799,0.004183139186352,0.015301598235965,0.146504119038582,0.022960364818573,-0.054049056023359,-0.072843216359615,-0.135855987668037,0.034693934023380,0.078236863017082,0.081757806241512) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.183198124170303,0.074773468077183,-0.031217835843563,-0.013823768123984,-0.108944199979305,0.062571033835411,0.028244625777006,-0.051042079925537,-0.142640545964241,-0.029190050438046,0.036222759634256,-0.051314324140549,0.066007912158966,0.055832445621490,0.128669619560242,-0.070362083613873) * MODEL6_texOff(vec2(1,0));
res += mat4(0.016715927049518,-0.052819885313511,0.019796591252089,0.005565505474806,0.006455943919718,0.146697223186493,0.025033114477992,0.043638762086630,-0.058308668434620,-0.067026190459728,0.024139672517776,0.026421511545777,0.042015366256237,-0.066867485642433,0.049792610108852,0.016332732513547) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.226800188422203,0.054490946233273,-0.109716743230820,-0.084589853882790) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL9
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 8_3

vec4 hook()
{
vec4 res = vec4(-0.260630100965500,-0.129268124699593,-0.124296784400940,-0.020903384312987);
res += mat4(-0.048375371843576,-0.025698162615299,0.013770734891295,-0.017679847776890,-0.022591337561607,0.088748075067997,0.038530621677637,0.008542229421437,0.038236003369093,-0.007286797743291,0.061103902757168,-0.103922225534916,0.019781179726124,-0.006324135232717,-0.058528572320938,0.029605926945806) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.070424437522888,-0.247620835900307,-0.341398417949677,0.054386537522078,-0.053569722920656,0.111371144652367,0.023108620196581,-0.146358937025070,0.017648268491030,0.029756695032120,0.042212590575218,0.099774539470673,-0.058150563389063,-0.016126682981849,0.030094956979156,-0.171686157584190) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.035942584276199,-0.108311951160431,-0.046153351664543,-0.064553000032902,0.070941947400570,0.045918755233288,-0.069149009883404,0.008779657073319,0.037190578877926,-0.091915994882584,-0.060332965105772,0.053981237113476,0.015227138064802,0.045641977339983,0.006002107635140,0.063889220356941) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.116527751088142,0.094969190657139,-0.059132855385542,0.016100341454148,-0.040450405329466,0.052657324820757,0.119911454617977,-0.064554736018181,-0.096779637038708,0.092203959822655,-0.100669667124748,-0.056277561932802,-0.036439638584852,0.020661335438490,0.099896974861622,0.039272978901863) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.038187604397535,-0.121054627001286,-0.372526496648788,0.006716853007674,0.069559611380100,0.249666184186935,0.222225815057755,0.062139697372913,-0.011783816851676,0.001774578238837,0.066594831645489,-0.190932720899582,-0.001116155413911,0.138576388359070,-0.124646320939064,0.026868341490626) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.067956522107124,-0.029076000675559,-0.126979067921638,-0.099339060485363,0.056608345359564,0.199824810028076,0.196051925420761,-0.146400228142738,0.112953990697861,0.077868193387985,-0.018931373953819,-0.062442358583212,-0.007210442796350,0.044759545475245,-0.011559142731130,-0.070482291281223) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.057308781892061,-0.075803883373737,-0.040665429085493,-0.043868884444237,-0.103919237852097,0.012801496312022,0.084582209587097,0.001411719364114,0.024236351251602,-0.037540018558502,-0.052168894559145,-0.039477452635765,0.010702895000577,0.073164448142052,-0.046264681965113,0.002416019327939) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.136919423937798,-0.073691733181477,0.097504742443562,-0.067716352641582,-0.165759578347206,0.013775904662907,0.064073763787746,-0.166167348623276,-0.068533003330231,-0.017921352759004,-0.010164345614612,0.094844110310078,-0.100316971540451,-0.132948040962219,0.078572787344456,-0.093956008553505) * MODEL1_texOff(vec2(1,0));
res += mat4(0.006721419282258,0.027893669903278,0.015103760175407,0.089633449912071,0.000529105309397,0.074827842414379,0.075116604566574,0.013265883550048,-0.082141041755676,-0.085353456437588,-0.046512562781572,-0.030331172049046,0.033934574574232,0.022882819175720,0.073016330599785,-0.011859932914376) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.103912405669689,-0.016626149415970,-0.016365801915526,-0.042118754237890,0.032121829688549,0.001977710751817,0.012272345833480,0.007150978781283,0.035442516207695,-0.055118735879660,0.025696521624923,0.117553226649761,-0.074474111199379,0.027897709980607,-0.002791082253680,0.005033775698394) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.044103510677814,0.000886363675818,0.007433370687068,0.190035775303841,0.047618053853512,0.037993896752596,0.019874947145581,0.024067368358374,-0.032502599060535,0.016860138624907,0.095315411686897,-0.158679455518723,-0.066089935600758,0.068669229745865,0.021884750574827,0.066636353731155) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.029298422858119,-0.048972893506289,-0.043527599424124,-0.001146738417447,-0.052483048290014,0.049559496343136,0.021607179194689,-0.022379061207175,0.036998376250267,0.026548551395535,0.023631518706679,0.018467921763659,-0.072487659752369,-0.097789399325848,-0.007711843587458,0.015892347320914) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.103107474744320,0.146802753210068,0.110793173313141,-0.069819286465645,0.137052714824677,-0.085214354097843,-0.020445242524147,-0.057966124266386,0.013950556516647,0.135680809617043,-0.082813635468483,0.067953042685986,-0.190344229340553,0.102733992040157,0.133783742785454,-0.036338448524475) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.008010978810489,0.074149124324322,0.025554925203323,-0.009466570802033,0.023958222940564,0.084383659064770,-0.034203391522169,-0.011646163649857,0.043368302285671,-0.052216745913029,-0.120435513556004,0.080666601657867,-0.036774870008230,-0.144865587353706,0.004954931791872,-0.213035851716995) * MODEL2_texOff(vec2(0,0));
res += mat4(0.065546676516533,0.045200660824776,-0.036741953343153,0.070780485868454,-0.366284579038620,0.356145620346069,0.260641396045685,-0.142611384391785,-0.012260620482266,-0.017907241359353,-0.037865154445171,-0.011075839400291,-0.064754210412502,-0.047976423054934,-0.077631562948227,0.046232249587774) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.115622617304325,0.016943071037531,0.043087884783745,0.020547498017550,-0.016005419194698,-0.026840940117836,-0.089077360928059,0.033012516796589,0.027951823547482,-0.132374018430710,-0.017661938443780,-0.210530072450638,0.000658536795527,0.007169413380325,-0.033205866813660,-0.020193073898554) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.027359444648027,-0.028988778591156,0.016631590202451,0.082686103880405,0.084679067134857,0.081257112324238,0.136961683630943,0.052113007754087,-0.064571812748909,-0.021564643830061,-0.063799373805523,0.020913865417242,-0.025134705007076,0.026162708178163,-0.049656301736832,0.041641119867563) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.023335603997111,-0.020442223176360,0.000119595599244,-0.001984311733395,-0.059012904763222,0.093371592462063,0.165652930736542,0.162606671452522,0.067067839205265,0.007221553009003,-0.044811941683292,0.059729002416134,-0.042246792465448,0.010299954563379,-0.018702045083046,-0.001207680674270) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.023432325571775,0.050232388079166,0.052937600761652,-0.012612879276276,-0.050236847251654,0.015395445749164,-0.043884575366974,-0.034932672977448,0.103445880115032,0.049055229872465,0.089031361043453,-0.036075860261917,-0.080300733447075,-0.056617438793182,-0.070747457444668,0.071603991091251) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.014622684568167,0.191870540380478,0.163560792803764,-0.125806227326393,-0.101346939802170,-0.127535238862038,0.136803537607193,0.096349135041237,-0.038165923207998,0.053492356091738,0.080740295350552,-0.167545408010483,0.041954781860113,-0.031033931300044,0.021837327629328,-0.064531251788139) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.031391967087984,-0.038176350295544,-0.048064645379782,0.036103826016188,0.054552339017391,0.071939796209335,0.075218558311462,-0.050450168550014,-0.054719176143408,0.010808933526278,0.066883981227875,-0.071454897522926,0.022184083238244,-0.033141385763884,-0.033071853220463,-0.023406963795424) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.122109614312649,-0.054555922746658,0.042572405189276,0.005331485532224,-0.001389448181726,0.019838979467750,0.194470182061195,0.020332058891654,0.062897361814976,0.039593853056431,0.070364430546761,0.039946507662535,-0.129633367061615,-0.100621372461319,-0.035801298916340,-0.031109703704715) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.053764414042234,0.055695913732052,-0.015374773181975,0.197897583246231,-0.174823030829430,0.080486074090004,0.061493512243032,0.079128623008728,-0.021633153781295,0.073088414967060,-0.120735593140125,-0.108076594769955,0.331750303506851,0.023696294054389,-0.014301472343504,0.266001552343369) * MODEL3_texOff(vec2(0,0));
res += mat4(0.059967868030071,-0.043839663267136,0.018148703500628,0.006745028309524,-0.058130167424679,0.031097920611501,0.046200163662434,0.003572018584237,-0.101932607591152,-0.113842308521271,-0.196550905704498,-0.066831305623055,0.001281531876884,0.003958510700613,0.062252771109343,0.059715509414673) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.051692187786102,-0.008798307739198,-0.081480689346790,-0.027946086600423,0.004810193553567,0.021364588290453,0.095101833343506,0.087818987667561,-0.054839510470629,0.012757349759340,-0.019007734954357,0.104640021920204,-0.068711146712303,0.036542430520058,-0.025929080322385,-0.012090190313756) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.004042271059006,-0.099751353263855,-0.043483637273312,-0.074692301452160,0.206116929650307,0.043810904026031,-0.079730674624443,0.084677852690220,0.013910793699324,0.011256125755608,-0.006830953992903,0.074701048433781,0.026179401203990,0.027951860800385,-0.010813514702022,-0.100406147539616) * MODEL3_texOff(vec2(1,0));
res += mat4(0.017463874071836,0.020400676876307,0.033599395304918,0.049838349223137,-0.048513263463974,-0.017159312963486,-0.011016026139259,0.082463756203651,-0.012738836929202,-0.062121033668518,-0.067332580685616,0.017841514199972,-0.053530152887106,-0.003495566081256,-0.030978342518210,0.090120300650597) * MODEL3_texOff(vec2(1,1));
res += mat4(0.026378335431218,0.070776067674160,0.061291817575693,0.032295014709234,0.046536158770323,-0.036164775490761,-0.020681349560618,-0.025042461231351,0.020618645474315,0.037750102579594,-0.017626868560910,-0.036849651485682,-0.015263048000634,0.137055262923241,-0.032784700393677,0.009017354808748) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.125419273972511,0.062851525843143,0.052865292876959,-0.085721604526043,-0.034853171557188,0.002878883620724,0.077553585171700,-0.137779876589775,-0.158164530992508,-0.116592846810818,-0.000271170167252,-0.002803456271067,0.053049433976412,0.046163987368345,-0.170569702982903,0.229153886437416) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.011821527034044,0.042835522443056,0.016171177849174,0.002341372892261,0.040986154228449,0.075890295207500,0.034020498394966,0.061656769365072,0.001038238406181,-0.031753025949001,-0.049264159053564,-0.004676070064306,0.015276602469385,-0.021047072485089,-0.046627677977085,0.024163374677300) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.084546230733395,-0.151885241270065,-0.050569891929626,-0.126813679933548,-0.130374461412430,0.087866611778736,0.066318348050117,0.050400618463755,0.000657135795336,-0.067165940999985,0.041095953434706,-0.021932136267424,0.022929308936000,0.010419532656670,-0.018659049645066,-0.006181392353028) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.094615519046783,0.141338020563126,0.053062148392200,0.016298895701766,-0.203151032328606,-0.086311951279640,0.014847521670163,0.067534163594246,0.084410555660725,0.120363458991051,0.030940320342779,-0.103379733860493,0.014490999281406,-0.307747334241867,0.188252016901970,-0.120453998446465) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.003405483672395,0.083963818848133,0.137501731514931,-0.108099140226841,0.042781844735146,-0.020797051489353,0.101986847817898,-0.070477552711964,0.008102544583380,0.009782209992409,-0.022236587479711,-0.067606680095196,0.011083316057920,-0.010750246234238,0.114886656403542,-0.057810273021460) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.049116887152195,0.057914473116398,-0.032317541539669,0.053540635854006,-0.009594730101526,0.027291063219309,0.058635860681534,-0.017440656200051,0.109408065676689,0.035265479236841,-0.042434647679329,0.031290832906961,-0.029331462457776,0.032310590147972,0.043930437415838,0.051862984895706) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.128239065408707,0.063651360571384,0.117558561265469,-0.100994139909744,0.088543020188808,0.070866242051125,-0.058329056948423,0.070088356733322,0.205135166645050,-0.023926682770252,-0.006065932102501,0.040185153484344,0.031691927462816,-0.003942369017750,0.009458890184760,-0.034396741539240) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.101565934717655,-0.038012057542801,-0.014027921482921,-0.023855242878199,0.013582167215645,-0.053690727800131,-0.145949259400368,-0.031338889151812,-0.053489338606596,0.029823476448655,0.052988745272160,-0.039315447211266,-0.028164679184556,0.016829878091812,-0.049114115536213,0.097988173365593) * MODEL4_texOff(vec2(1,1));
res += mat4(0.033963486552238,-0.037643365561962,0.016680214554071,0.004534760024399,0.056298840790987,-0.022233365103602,-0.026223581284285,-0.001762186526321,0.029082465916872,-0.004067961592227,0.006623347289860,-0.021901940926909,0.001265416853130,0.036757923662663,-0.000386486412026,0.035497263073921) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.101118549704552,-0.008183537051082,-0.057885948568583,0.018174432218075,0.087587915360928,-0.034263629466295,0.049028851091862,-0.050245124846697,0.052403040230274,0.063482448458672,-0.078809000551701,0.152392193675041,0.075209639966488,0.085259050130844,-0.039539329707623,0.073609285056591) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.016669204458594,0.069178573787212,0.028957903385162,0.012675351463258,0.064913734793663,-0.060297824442387,-0.026868296787143,0.091741755604744,0.006160553544760,-0.029601167887449,-0.014580091461539,-0.061695188283920,-0.063556112349033,-0.137536302208900,-0.069836415350437,0.054291930049658) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.024090934544802,-0.173707157373428,-0.144418343901634,-0.051766410470009,-0.084115438163280,0.074463173747063,-0.019443964585662,0.038393832743168,-0.026331581175327,0.113508902490139,-0.000067573331762,0.020576614886522,0.216750487685204,-0.030790369957685,0.045700769871473,-0.031941544264555) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.221847593784332,0.064476810395718,0.079152740538120,0.074354425072670,0.170700266957283,-0.048432622104883,-0.012004020623863,0.100711941719055,0.072976790368557,0.094789363443851,0.151418864727020,0.178508609533310,-0.089581564068794,0.226853728294373,0.228620350360870,0.001922768307850) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.080819621682167,0.002171368570998,0.024575566872954,0.027466446161270,0.098029941320419,-0.153874576091766,-0.046802252531052,0.053796604275703,0.047998800873756,-0.011050632223487,-0.049125269055367,0.090871818363667,-0.030870329588652,-0.101240418851376,-0.123440109193325,0.036670818924904) * MODEL5_texOff(vec2(0,1));
res += mat4(0.033733513206244,-0.007741017732769,-0.056221187114716,-0.003280795179307,-0.036217886954546,0.054873809218407,0.069816902279854,-0.025789752602577,-0.041419912129641,-0.004372503142804,0.146666362881660,0.178864285349846,-0.059085644781590,-0.023162866011262,-0.087725833058357,0.004880898632109) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.058086842298508,-0.012541644275188,0.021740050986409,0.035772066563368,0.190386652946472,-0.048841390758753,-0.085299968719482,-0.045799490064383,-0.146870881319046,0.070894017815590,0.138784512877464,-0.056007567793131,-0.182724177837372,-0.059965565800667,-0.006193751469254,0.019551549106836) * MODEL5_texOff(vec2(1,0));
res += mat4(0.009237422607839,-0.017500797286630,0.022103376686573,-0.083014994859695,0.007898122072220,-0.001126615912654,-0.079060845077038,-0.016214469447732,0.081361442804337,0.030229168012738,0.064875513315201,0.044286180287600,0.049876898527145,0.046085141599178,0.017081627622247,0.085204355418682) * MODEL5_texOff(vec2(1,1));
res += mat4(0.034297335892916,0.048854582011700,0.008226953446865,-0.001957512460649,-0.005820836871862,0.004238052293658,-0.103496506810188,0.010328897275031,-0.039370667189360,0.028696143999696,0.014760128222406,0.101705409586430,0.014092012308538,-0.124228619039059,0.023115998134017,0.108584299683571) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.137547820806503,0.064883880317211,0.037868242710829,0.110088601708412,-0.136311426758766,-0.235188230872154,-0.302747964859009,0.107163377106190,-0.129333615303040,-0.113878168165684,-0.018633572384715,0.016679922118783,-0.027382405474782,-0.019588168710470,0.016030408442020,0.021591315045953) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.012775504961610,-0.139207869768143,-0.041746459901333,-0.025577919557691,0.086830332875252,-0.015873657539487,-0.085512876510620,0.048639997839928,0.012279591523111,-0.007204502820969,0.024428196251392,0.018726946786046,-0.022989265620708,-0.022964175790548,-0.043862238526344,0.046290896832943) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.101688794791698,-0.001143856206909,0.000156105859787,-0.007202908396721,0.064392447471619,-0.057628158479929,0.094076536595821,-0.038646969944239,0.227648109197617,-0.082790374755859,-0.026526428759098,0.037831485271454,0.140687748789787,-0.014402803033590,-0.126358911395073,-0.092722110450268) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.066706977784634,-0.088280528783798,-0.096391312777996,-0.020719040185213,-0.094473838806152,-0.009316084906459,0.211623445153236,-0.128944262862206,-0.092908866703510,-0.145851716399193,-0.147164732217789,0.048871096223593,-0.043481256812811,-0.081851281225681,-0.049487333744764,-0.059975769370794) * MODEL6_texOff(vec2(0,0));
res += mat4(0.015553353354335,-0.028865471482277,-0.143744841217995,0.151644274592400,0.039179082959890,0.004628045018762,0.100632265210152,-0.024272155016661,-0.059355482459068,0.004671758972108,-0.034512121230364,-0.014621244743466,0.014431955292821,-0.029417466372252,-0.024150464683771,-0.001550488988869) * MODEL6_texOff(vec2(0,1));
res += mat4(0.032075408846140,-0.004719431046396,-0.012361190281808,0.039314638823271,0.044421173632145,-0.016970172524452,-0.027533611282706,-0.053817614912987,-0.008899038657546,0.008736704476178,-0.011370284482837,0.067074880003929,0.028966262936592,0.029252666980028,0.072104007005692,0.008820863440633) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.073043689131737,-0.059690617024899,-0.050411552190781,0.121004372835159,-0.065972097218037,-0.001858355943114,-0.009368278086185,-0.060999222099781,0.011621438898146,0.115258447825909,-0.022092135623097,0.076124340295792,-0.137990340590477,-0.006868887692690,-0.092362277209759,-0.040199548006058) * MODEL6_texOff(vec2(1,0));
res += mat4(0.075498118996620,0.024163750931621,0.022731989622116,0.111198812723160,0.084098197519779,0.020010417327285,-0.010038224980235,0.010272451676428,-0.037396721541882,-0.019465724006295,-0.010324447415769,-0.107268288731575,0.058872312307358,0.008685464970767,0.013735700398684,0.016755033284426) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.115119628608227,-0.185676142573357,-0.224425360560417,0.663158714771271) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL10
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 8_4

vec4 hook()
{
vec4 res = vec4(-0.025163946673274,-0.095516338944435,-0.082875326275826,-0.029463915154338);
res += mat4(0.032104961574078,0.015655940398574,-0.061465650796890,-0.127510398626328,0.021355571225286,0.005740517284721,-0.071792840957642,0.035308264195919,0.045459240674973,0.018576934933662,0.023952214047313,0.025951800867915,-0.033102400600910,-0.028960863128304,-0.046845559030771,-0.058185644447803) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.089354000985622,-0.034147694706917,-0.139237418770790,-0.212046146392822,-0.110681846737862,-0.091308020055294,-0.105082355439663,-0.011126295663416,0.000179212918738,-0.050731096416712,-0.045627195388079,0.108070567250252,-0.026511020958424,0.037088766694069,-0.065596096217632,0.078735500574112) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.064765103161335,-0.179626002907753,-0.093298397958279,-0.047328688204288,-0.003876561298966,-0.020490625873208,-0.024761097505689,-0.136554390192032,0.004285154398531,0.043455038219690,0.010818781331182,0.006327811162919,-0.081075601279736,-0.078249916434288,-0.034516740590334,-0.030935160815716) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.103907719254494,-0.013229356147349,0.075926735997200,-0.098584212362766,-0.036758884787560,-0.060479026287794,0.012864455580711,0.003184725763276,0.070218510925770,-0.012198437005281,-0.041979145258665,-0.054856404662132,-0.042559485882521,0.036976106464863,-0.047442156821489,0.059238601475954) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.245832636952400,0.059313070029020,0.080516263842583,-0.373165637254715,0.064016483724117,-0.173444867134094,-0.050442963838577,0.014093148522079,-0.184350833296776,-0.385841816663742,-0.028138807043433,0.180366903543472,-0.065296918153763,-0.006843370851129,0.171995788812637,-0.147191703319550) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.171786323189735,-0.104140102863312,0.030614603310823,-0.142355412244797,0.053208377212286,-0.146488562226295,0.079658314585686,0.141830652952194,0.192526191473007,-0.001731255091727,-0.101546429097652,-0.087826333940029,-0.091449126601219,-0.114035375416279,0.134450957179070,0.035111073404551) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.119355045258999,0.000378790486138,-0.052936531603336,-0.073984593153000,0.033795334398746,-0.105216234922409,-0.042147040367126,0.110856309533119,0.042988061904907,-0.013309824280441,-0.041602436453104,0.052013549953699,-0.069709882140160,0.017879651859403,0.051658585667610,-0.072966538369656) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.233234539628029,0.010815116576850,-0.040522459894419,-0.030897781252861,-0.115559339523315,0.068219259381294,-0.035130865871906,0.128173738718033,0.078464113175869,-0.062157217413187,-0.048168618232012,-0.082266993820667,0.161211669445038,-0.103296294808388,-0.031300738453865,0.009535195305943) * MODEL1_texOff(vec2(1,0));
res += mat4(0.001216841046698,-0.044705219566822,-0.034589603543282,-0.075953744351864,-0.086804784834385,0.032767590135336,0.041546046733856,0.094761431217194,-0.067465774714947,-0.085482716560364,0.025830807164311,-0.000582121312618,0.082226254045963,0.101730257272720,0.026055987924337,0.015775807201862) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.045164275914431,-0.030106890946627,-0.053739972412586,-0.145304873585701,-0.039669785648584,-0.003581468481570,0.042268492281437,0.123995393514633,0.129663780331612,0.067099556326866,-0.087816148996353,-0.014423017390072,-0.014545349404216,0.008542885072529,-0.100250922143459,-0.095145508646965) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.148166716098785,-0.126146540045738,0.019491624087095,0.041069973260164,0.034994106739759,-0.017964819446206,-0.097302079200745,0.019241742789745,-0.071226581931114,-0.110694661736488,-0.126908242702484,0.067398779094219,0.098448157310486,0.031853649765253,-0.111995212733746,-0.033634863793850) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.008036566898227,0.049097187817097,-0.039820350706577,-0.006786599755287,0.057371288537979,-0.003992316778749,-0.060578949749470,-0.046171482652426,0.000081702033640,0.009674738161266,-0.052526719868183,-0.015868557617068,-0.026136033236980,0.056052386760712,-0.023749480023980,-0.014172992669046) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.106172502040863,-0.087177872657776,0.035675980150700,0.017088219523430,0.056166000664234,0.118843339383602,-0.086611911654472,0.093258276581764,0.003355183405802,-0.028641413897276,0.164251461625099,-0.065119080245495,-0.007112358696759,0.045098006725311,0.028654351830482,-0.030250981450081) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.277422666549683,0.218610674142838,0.032873984426260,0.099764548242092,-0.103810660541058,-0.257453590631485,0.117160968482494,-0.176354765892029,0.131311550736427,0.047756396234035,-0.055956501513720,-0.012360731139779,-0.047897558659315,-0.105981796979904,0.020038120448589,0.099489808082581) * MODEL2_texOff(vec2(0,0));
res += mat4(0.091059260070324,0.003448013449088,-0.011207714676857,-0.013632458634675,-0.087369613349438,0.022304821759462,-0.022154992446303,0.027570370584726,0.090362027287483,0.027032250538468,-0.164515778422356,-0.034259915351868,-0.103131636977196,-0.057333391159773,-0.114994347095490,-0.117108054459095) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.007701702415943,-0.104619465768337,-0.021896153688431,-0.029074940830469,0.023759812116623,0.060871906578541,-0.012991253286600,-0.052394021302462,0.161443188786507,-0.036928702145815,-0.065467052161694,0.009691135026515,0.023852705955505,0.065031029284000,-0.031840823590755,0.045626353472471) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.015461544506252,0.023792304098606,0.014946736395359,-0.067040100693703,0.100474573671818,-0.089395701885223,0.001136303879321,-0.061558503657579,0.383276909589767,0.029975460842252,0.024150447919965,-0.009875786490738,-0.132408738136292,0.013887123204768,0.037683285772800,-0.099136032164097) * MODEL2_texOff(vec2(1,0));
res += mat4(0.078707821667194,0.035937245935202,-0.000098281845567,-0.048311736434698,0.019062500447035,0.067923270165920,0.025850193575025,0.049835506826639,0.042489230632782,-0.007271119393408,-0.011077728122473,0.051020137965679,-0.036279149353504,-0.099048800766468,0.066866174340248,0.014170312322676) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.144755706191063,-0.025139035657048,-0.108012914657593,-0.017684854567051,-0.053559251129627,0.026173302903771,-0.238337144255638,0.016862438991666,0.048105064779520,-0.080327287316322,-0.062423519790173,0.021949099376798,0.026710400357842,0.014478018507361,0.011326999403536,-0.080392085015774) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.325515091419220,0.012040533125401,-0.080073758959770,0.054257880896330,-0.131906002759933,-0.100352928042412,-0.235093653202057,0.044796086847782,-0.227584615349770,0.119917728006840,-0.032600108534098,-0.033281799405813,-0.053034923970699,-0.072846479713917,-0.031858202069998,0.037696901708841) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.104274459183216,0.085861466825008,-0.145896241068840,-0.045257616788149,-0.036433849483728,0.038580846041441,-0.144833073019981,-0.043625995516777,0.073376551270485,0.073585897684097,-0.035365439951420,-0.057988204061985,-0.082124270498753,-0.058067362755537,-0.039168640971184,-0.062087930738926) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.035574644804001,0.051580324769020,0.061370272189379,0.140733018517494,0.092528715729713,0.049591287970543,-0.075270190834999,0.100558675825596,0.079646795988083,-0.158971473574638,-0.060375217348337,0.057966493070126,-0.030197454616427,0.066755659878254,-0.112417027354240,-0.058165851980448) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.007335613016039,0.006677981466055,0.047774791717529,-0.093753635883331,-0.139474481344223,-0.270399242639542,-0.192841485142708,-0.233260408043861,-0.064065918326378,0.228604748845100,0.028450876474380,-0.040541227906942,0.009110008366406,-0.168700754642487,0.026627263054252,0.136746451258659) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.121537990868092,-0.057024825364351,-0.095817580819130,-0.060838583856821,-0.047687560319901,0.064286381006241,-0.060486786067486,0.091696463525295,-0.021270973607898,-0.014571735635400,-0.080638013780117,-0.099719196557999,-0.020284969359636,-0.058722987771034,-0.023176258429885,-0.096058510243893) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.079937659204006,0.023361898958683,0.051400538533926,-0.068689443171024,-0.023609068244696,-0.021678065881133,-0.024541106075048,0.026107912883162,0.046071834862232,-0.014757890254259,-0.013625879772007,0.035984676331282,-0.115400917828083,0.020193224772811,0.016778906807303,0.013817569240928) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.051838602870703,-0.025095123797655,0.005206969566643,-0.033673115074635,-0.014920573681593,0.088117644190788,-0.029985940083861,-0.072265133261681,0.111014343798161,-0.070562154054642,-0.018480971455574,-0.002041368279606,-0.038027171045542,-0.013347214087844,0.031557679176331,-0.005661477800459) * MODEL3_texOff(vec2(1,0));
res += mat4(0.053016252815723,-0.000366880936781,-0.003228813176975,0.047988340258598,-0.067444652318954,-0.022432764992118,0.036299824714661,0.060480758547783,-0.099494993686676,-0.005300974939018,-0.030526300892234,-0.072682954370975,0.031590502709150,-0.143962398171425,0.012373722158372,-0.054013088345528) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.009761394932866,-0.006111673079431,-0.054185133427382,0.294440150260925,0.004090241156518,0.000304560991935,-0.071346715092659,-0.066632211208344,0.005067214835435,0.066635176539421,-0.002471013227478,-0.127098783850670,0.033619392663240,-0.010361950844526,-0.097516559064388,-0.005131493322551) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.022521547973156,0.074448727071285,-0.172796845436096,0.153203219175339,-0.028653707355261,0.047522250562906,-0.155441299080849,0.080480664968491,0.009725371375680,-0.033784836530685,-0.014028713107109,0.010996360331774,0.349319279193878,-0.040162790566683,-0.048007924109697,-0.116517275571823) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.075972855091095,0.030842220410705,-0.036509066820145,-0.017015911638737,-0.055618233978748,0.039014700800180,-0.153620541095734,-0.103735081851482,0.003915425390005,-0.157547429203987,-0.093425974249840,-0.185093477368355,0.108053311705589,0.089305624365807,-0.154914185404778,0.082977376878262) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.048717625439167,0.122057393193245,-0.051001321524382,0.056414596736431,-0.056590583175421,0.118477918207645,-0.039784960448742,-0.146571233868599,-0.063889771699905,0.028060350567102,-0.088485985994339,-0.062978141009808,-0.149252057075500,-0.022198371589184,0.014612719416618,0.006061329040676) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.118323437869549,0.076627053320408,0.073493286967278,-0.010152921080589,-0.047900777310133,-0.058863032609224,0.035684727132320,-0.179085046052933,-0.254801630973816,-0.072246439754963,-0.075258418917656,0.051709331572056,0.095585331320763,-0.012071853503585,0.030199427157640,-0.213529080152512) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.064413070678711,-0.069424740970135,-0.219251140952110,-0.070254251360893,-0.039306774735451,-0.072963252663612,-0.063686765730381,-0.009133007377386,-0.133307874202728,-0.092303462326527,0.044606473296881,-0.075306892395020,0.099442437291145,-0.040882971137762,0.032326973974705,0.007849093526602) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.038411851972342,-0.015798455104232,0.048819210380316,0.019427627325058,-0.103022135794163,0.051580853760242,0.006256162188947,-0.026630412787199,0.179360792040825,-0.104512177407742,0.026079287752509,-0.025176700204611,0.086046926677227,0.037943243980408,0.005679070483893,0.020795039832592) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.058834869414568,0.037247732281685,0.036640495061874,0.133911877870560,-0.127593129873276,-0.095193780958652,0.039020854979753,-0.056163817644119,-0.117532350122929,0.193855449557304,0.019849512726068,0.252713054418564,-0.130710646510124,0.003308122744784,-0.056123897433281,-0.114476270973682) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.155276224017143,-0.022894063964486,0.013412229716778,0.221170008182526,-0.126807823777199,-0.044449917972088,0.029266998171806,0.030325060710311,-0.006466294173151,0.106420636177063,-0.029056506231427,0.066730700433254,0.019471900537610,-0.130135595798492,0.046552415937185,0.046537436544895) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.009147591888905,-0.038987278938293,0.010006424970925,-0.021682742983103,0.025786090642214,0.021983787417412,-0.009428456425667,-0.139729782938957,0.038584638386965,0.001281765289605,-0.024608656764030,0.084631159901619,-0.031415071338415,0.013722220435739,0.023163568228483,0.050174962729216) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.000955907336902,0.110525965690613,-0.022144492715597,-0.055058557540178,-0.099215842783451,0.032955575734377,-0.104116216301918,0.157253801822662,0.065078295767307,0.079589098691940,0.022055586799979,-0.040265981107950,0.105256825685501,-0.054143346846104,-0.052958182990551,-0.189991071820259) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.088493458926678,-0.078958161175251,-0.083271108567715,-0.063355587422848,0.055247016251087,0.063069753348827,-0.161636263132095,-0.092652373015881,-0.044395923614502,-0.011116516776383,0.020128101110458,0.108746051788330,0.085446231067181,0.064856320619583,-0.035891082137823,0.013884106650949) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.061866659671068,0.041344288736582,-0.064674116671085,-0.178434178233147,-0.052948564291000,-0.049398329108953,0.015346413478255,-0.181393489241600,-0.283903211355209,-0.139313891530037,0.182590350508690,-0.032856438308954,0.016983510926366,0.169253736734390,-0.036669928580523,0.130406916141510) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.105635583400726,0.047967322170734,-0.008798425085843,0.172687485814095,0.097509704530239,0.169781416654587,-0.021753953769803,0.234410792589188,0.041657112538815,0.090631112456322,0.212928071618080,0.229201033711433,-0.295080929994583,-0.387990772724152,0.044572763144970,-0.033827513456345) * MODEL5_texOff(vec2(0,0));
res += mat4(0.002835704479367,0.010095140896738,0.008244612254202,0.022118464112282,-0.028414798900485,0.120341777801514,-0.069715246558189,-0.227387025952339,0.010568788275123,0.102909572422504,0.078929953277111,-0.117269977927208,-0.100501090288162,0.204795122146606,-0.031180214136839,-0.198478192090988) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.060333270579576,-0.013792561367154,-0.003313611028716,-0.072176367044449,-0.023908860981464,-0.023051030933857,0.019660474732518,-0.120511688292027,0.036901146173477,-0.030184388160706,-0.011868385598063,0.159250959753990,-0.017311099916697,0.074082158505917,0.025143552571535,-0.001448413939215) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.061307664960623,0.042316131293774,0.023798661306500,-0.051388006657362,0.070813700556755,0.054409179836512,0.009054655209184,0.035203393548727,-0.099733486771584,0.127249911427498,0.040744516998529,0.136168688535690,0.242702335119247,-0.182029709219933,0.012341085821390,0.096989974379539) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.011274276301265,-0.012685270048678,-0.025889068841934,-0.036675557494164,-0.091724455356598,-0.001068799523637,-0.039481494575739,-0.138190448284149,0.054119437932968,0.010531308129430,-0.024385461583734,-0.037110242992640,0.127041354775429,0.026732027530670,-0.008545850403607,-0.115189284086227) * MODEL5_texOff(vec2(1,1));
res += mat4(0.016182012856007,-0.039162237197161,-0.007361961528659,-0.025500880554318,0.120262198150158,-0.020238718017936,-0.016908353194594,0.006489290855825,0.042427994310856,0.058656178414822,0.015295859426260,0.132704332470894,-0.104515202343464,0.081546559929848,-0.008843104355037,-0.050042368471622) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.044088847935200,-0.068308889865875,0.032040495425463,0.116515636444092,-0.067397467792034,0.060620393604040,-0.054657150059938,-0.187548711895943,0.057438481599092,0.055319424718618,0.187759056687355,-0.164855659008026,-0.047757793217897,-0.023934621363878,-0.077670976519585,-0.109157770872116) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.039094459265471,-0.022537825629115,-0.100826926529408,0.046752937138081,0.071540236473083,-0.233790382742882,-0.007133780047297,-0.027368592098355,-0.003083762014285,-0.001043994678184,-0.041190218180418,0.097632646560669,0.068838648498058,-0.065928474068642,-0.112227745354176,-0.009397407993674) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.017727807164192,-0.024443397298455,-0.031209385022521,0.051517523825169,-0.027364498004317,-0.071675129234791,0.024327393621206,-0.026958638802171,-0.069227024912834,0.112620629370213,-0.041010100394487,0.234760552644730,0.039421651512384,-0.001745852991007,0.016102626919746,-0.400205403566360) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.011873148381710,-0.183682650327682,-0.075456023216248,0.232673719525337,0.053067270666361,0.193203166127205,-0.020736217498779,0.172502204775810,0.150041520595551,0.082799643278122,0.118724204599857,-0.262281835079193,0.061328437179327,-0.161895573139191,-0.121940553188324,0.020074393600225) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.068976297974586,0.295763701200485,0.088922217488289,-0.033933117985725,0.177688941359520,-0.028912387788296,0.003189050592482,0.174778446555138,0.092307351529598,-0.140294626355171,0.061004586517811,0.019371427595615,-0.008909912779927,0.029574386775494,-0.061857953667641,0.020137038081884) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.103390417993069,-0.054972104728222,0.042585100978613,-0.012777457013726,0.108794674277306,-0.004654584918171,-0.016610814258456,0.042430173605680,0.151800617575645,0.035670693963766,-0.006990248803049,0.066921010613441,0.015422132797539,0.053868573158979,-0.010430713184178,-0.175060927867889) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.031080510467291,-0.047543331980705,0.009298129938543,0.117693670094013,0.030574280768633,0.094236887991428,-0.022333953529596,-0.011353359557688,-0.017639707773924,0.191559016704559,0.079188033938408,-0.108119219541550,-0.045041713863611,-0.182093188166618,0.023772932589054,0.072150535881519) * MODEL6_texOff(vec2(1,0));
res += mat4(0.068899407982826,0.033693749457598,-0.007536814082414,-0.069590084254742,-0.034613907337189,-0.093449033796787,-0.034330978989601,0.081305377185345,0.013369744643569,-0.047305524349213,-0.019707970321178,0.002765888115391,-0.052975893020630,-0.016971947625279,0.006175686605275,0.040677525103092) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.172026485204697,-0.200878605246544,-0.001326335011981,-0.063202820718288) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL11
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 8_5

vec4 hook()
{
vec4 res = vec4(-0.145568922162056,-0.207145288586617,-0.021014673635364,0.119015179574490);
res += mat4(-0.062067769467831,-0.013854956254363,-0.004645277280360,-0.111197389662266,0.060536488890648,-0.005330701824278,0.060918211936951,-0.001261042430997,-0.062085013836622,-0.122700475156307,-0.011168205179274,0.037484046071768,-0.103642992675304,-0.053184051066637,-0.090644806623459,0.018205124884844) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.065380379557610,0.048104435205460,0.066587023437023,-0.066078826785088,-0.044647406786680,0.011051716282964,0.006282584276050,0.051250472664833,0.056058265268803,0.055423863232136,0.013052989728749,0.000257737177890,-0.151618361473083,-0.036063402891159,-0.192777663469315,0.008684646338224) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.091244362294674,-0.049449965357780,0.039544682949781,-0.024902118369937,0.092903479933739,-0.009425685741007,0.014055532403290,-0.036125011742115,0.024618340656161,0.109971791505814,0.026497924700379,0.070444278419018,-0.031188027933240,0.025524940341711,-0.000219969631871,0.093322753906250) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.034775156527758,0.072550117969513,0.008896068669856,-0.058531612157822,-0.002426465973258,-0.033580914139748,-0.033863570541143,0.046509772539139,0.015019379556179,0.082770690321922,0.088625244796276,0.119772590696812,0.040312636643648,0.011207565665245,0.062081553041935,-0.005415260791779) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.121539585292339,0.000129321822897,0.063967794179916,-0.090525493025780,-0.105604454874992,-0.100527927279472,0.091410666704178,-0.022882629185915,-0.037722356617451,0.169460654258728,-0.074758060276508,0.115432873368263,-0.212389454245567,-0.068182960152626,0.152156993746758,-0.125079035758972) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.056328348815441,-0.004277996718884,-0.034362524747849,-0.012778398580849,-0.051424555480480,-0.020859429612756,-0.097043685615063,-0.165455654263496,0.221734181046486,-0.078639984130859,0.037736169993877,-0.046656370162964,-0.050257943570614,-0.036292027682066,-0.055270195007324,-0.068023912608624) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.016463804990053,-0.107755810022354,-0.020462024956942,0.033302213996649,-0.030595349147916,0.004487019497901,-0.014750828035176,0.082463867962360,0.051177408546209,0.039828434586525,0.028335781767964,-0.052816264331341,0.051046315580606,0.161399528384209,0.020243158563972,0.034364257007837) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.072666808962822,0.108426675200462,-0.267240852117538,0.049943231046200,-0.056895244866610,0.029366230592132,0.093528971076012,-0.177788838744164,-0.020648153498769,0.028445450589061,-0.158759057521820,0.007372260559350,0.091105803847313,-0.047796372324228,-0.007875203154981,0.035329200327396) * MODEL1_texOff(vec2(1,0));
res += mat4(0.065909117460251,-0.081516973674297,-0.203215897083282,0.086187310516834,-0.020805476233363,-0.129693210124969,-0.056145559996367,-0.046644814312458,-0.067562341690063,0.072672620415688,0.113622173666954,0.050174545496702,-0.057961873710155,-0.030164519324899,-0.071337081491947,-0.063576556742191) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.099964477121830,-0.020120849832892,-0.023330172523856,0.021356655284762,0.072673350572586,0.015947278589010,-0.014286637306213,0.032716631889343,0.047541923820972,-0.166604459285736,0.076056525111198,-0.034255873411894,0.012381955049932,-0.085068710148335,0.051060162484646,0.089775718748569) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.139848753809929,-0.014303799718618,0.010280818678439,0.064251929521561,-0.027751553803682,-0.036148834973574,-0.040342152118683,0.087391331791878,-0.112156167626381,-0.001513977884315,-0.037320028990507,0.075238630175591,0.052451569586992,-0.148331344127655,0.042014054954052,-0.113032191991806) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.015563989989460,0.003882516641170,-0.005835060961545,0.002558256965131,-0.043176352977753,-0.043399874120951,-0.063605971634388,0.088586255908012,0.070603914558887,-0.029615072533488,-0.033638019114733,0.101419337093830,-0.106352284550667,-0.042944699525833,-0.011810905300081,0.051247116178274) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.027775024995208,0.042397610843182,-0.037415046244860,0.036842737346888,0.045869130641222,-0.077364169061184,-0.001485665910877,-0.258026480674744,0.180509239435196,0.026699515059590,-0.279149949550629,0.013635983690619,-0.069421432912350,0.092811278998852,0.042533405125141,0.043081142008305) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.228089168667793,0.084290534257889,0.061319299042225,0.124662011861801,-0.070421561598778,0.199471056461334,0.050137527287006,0.028921632096171,0.180203616619110,-0.175323843955994,-0.111147440969944,-0.133897185325623,-0.084225833415985,-0.243991225957870,0.024109303951263,-0.048562575131655) * MODEL2_texOff(vec2(0,0));
res += mat4(0.152374491095543,0.036516394466162,0.027660721912980,-0.090204343199730,0.018023982644081,0.099300049245358,-0.022704422473907,0.180956006050110,0.143777072429657,-0.055426903069019,-0.039891865104437,0.017729293555021,-0.081326179206371,-0.021359417587519,0.020288765430450,-0.035707399249077) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.059417467564344,-0.044865202158689,-0.076328970491886,0.035892896354198,0.004065008834004,0.006900120526552,0.025257438421249,-0.041107814759016,0.057702008634806,-0.048828110098839,-0.060968197882175,-0.094389781355858,0.050717715173960,-0.033294431865215,-0.057392440736294,-0.037297956645489) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.038484036922455,0.043105602264404,-0.117287442088127,0.068053267896175,0.005432584322989,-0.150069266557693,-0.064710944890976,0.063061021268368,0.184351503849030,-0.065042190253735,-0.064139008522034,0.130314841866493,-0.002394882962108,-0.110227465629578,-0.117370426654816,-0.053466767072678) * MODEL2_texOff(vec2(1,0));
res += mat4(0.051693350076675,-0.041844069957733,0.010779724456370,-0.019581217318773,-0.071867264807224,-0.058955747634172,-0.017302954569459,0.173998072743416,-0.051185458898544,-0.002031826414168,0.027315054088831,-0.093312844634056,-0.012486916035414,0.064936168491840,0.039320796728134,-0.031452305614948) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.083997055888176,-0.017189575359225,-0.032365992665291,-0.040792122483253,0.092863537371159,-0.040215712040663,-0.047995977103710,0.069052532315254,-0.116089753806591,-0.099986508488655,-0.068227812647820,0.070632264018059,0.016256716102362,0.012553269043565,0.001980098197237,-0.142811000347137) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.024978434666991,-0.030157091096044,-0.167531460523605,-0.075880132615566,0.133835330605507,0.002641267608851,-0.276379257440567,0.047922629863024,0.117164120078087,0.099761225283146,-0.059006407856941,0.118488930165768,0.118409879505634,0.084499090909958,-0.065953828394413,0.195191875100136) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.039569385349751,0.089805908501148,0.130548685789108,-0.038849133998156,0.021186644211411,-0.046181391924620,-0.076924540102482,0.045312091708183,0.036515560001135,-0.070796303451061,-0.029367184266448,-0.034023635089397,0.095854565501213,0.015830634161830,-0.055739972740412,-0.013282020576298) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.032912213355303,0.021109826862812,0.032145109027624,-0.044969215989113,-0.101832553744316,-0.134928047657013,-0.067549094557762,0.024700982496142,0.015366695821285,0.096019916236401,0.167402669787407,0.208201676607132,-0.035454533994198,-0.102121673524380,0.015077070333064,-0.073627009987831) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.223226591944695,-0.127752274274826,0.148853808641434,-0.058616857975721,0.074873037636280,0.082593090832233,0.113120980560780,-0.058674346655607,-0.328854769468307,-0.017668846994638,0.272718966007233,0.022938266396523,0.112157091498375,0.155384510755539,-0.053813841193914,-0.028348576277494) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.192128375172615,-0.033607318997383,-0.002760231494904,-0.092805795371532,0.122557692229748,-0.041531793773174,-0.046066232025623,0.084748320281506,-0.195666208863258,-0.039296898990870,0.156147211790085,0.079401619732380,-0.041045017540455,0.085441477596760,-0.017916653305292,0.131464466452599) * MODEL3_texOff(vec2(0,1));
res += mat4(0.011504731141031,0.006007953081280,-0.039343520998955,-0.016336249187589,-0.076635777950287,-0.067868329584599,-0.110166378319263,0.042304683476686,0.011897702701390,-0.020155774429440,0.150079175829887,0.060398910194635,-0.008639572188258,-0.023759013041854,-0.069403454661369,-0.064877167344093) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.140375345945358,0.048953037708998,0.121326372027397,-0.010560461319983,-0.110624186694622,-0.005122780334204,0.087681487202644,-0.032786104828119,-0.071330390870571,0.020359521731734,-0.015559451654553,-0.031643699854612,-0.033984228968620,0.043910253793001,-0.022094162181020,0.095674492418766) * MODEL3_texOff(vec2(1,0));
res += mat4(0.081977367401123,0.006621727254242,0.001802586019039,-0.028157914057374,-0.031841669231653,0.045017585158348,0.051832329481840,0.037670064717531,0.054956447333097,0.031673710793257,0.097748324275017,0.032934512943029,-0.012259512208402,-0.015786221250892,0.009836749173701,-0.006088682916015) * MODEL3_texOff(vec2(1,1));
res += mat4(0.124682426452637,-0.025681553408504,0.013031228445470,-0.077312454581261,-0.021527361124754,-0.092551060020924,0.051726363599300,-0.132561132311821,0.003955878317356,-0.058621667325497,0.043074462562799,0.008244807831943,0.034254323691130,0.036523845046759,0.043217848986387,-0.007495689671487) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.015190009959042,-0.036287121474743,0.003655485808849,-0.047458868473768,-0.233255013823509,0.036090094596148,0.022666765376925,-0.007471829187125,-0.154215782880783,-0.106874100863934,0.054247979074717,-0.076452426612377,0.154280468821526,-0.261765748262405,0.155690565705299,-0.267916887998581) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.039562076330185,-0.056348171085119,0.001362168928608,-0.011692862026393,-0.040176525712013,0.060918569564819,0.029184011742473,-0.055266849696636,-0.091851651668549,-0.035641010850668,0.041339900344610,0.016943637281656,-0.047441471368074,0.063913524150848,-0.007302298676223,-0.089462652802467) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.036574311554432,-0.131363645195961,-0.077705323696136,-0.177552521228790,-0.067901365458965,0.006849739234895,0.070821046829224,0.067522421479225,-0.060713078826666,-0.007234489079565,-0.034260526299477,-0.020359719172120,0.071693561971188,-0.108754754066467,-0.006278867367655,-0.053618025034666) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.101150333881378,-0.106143742799759,0.079557985067368,0.096402928233147,-0.326861381530762,-0.146221920847893,-0.012057257816195,0.084714472293854,0.083945080637932,0.043640810996294,-0.076199993491173,0.012231691740453,0.146274000406265,-0.094015918672085,-0.246337860822678,0.152367755770683) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.074941694736481,-0.076463408768177,-0.064027927815914,0.045204762369394,0.086882516741753,-0.172841385006905,-0.027900328859687,-0.047395527362823,-0.048968594521284,-0.073304399847984,-0.010284421965480,-0.006037005223334,-0.020850857719779,-0.033065810799599,-0.114392854273319,0.027065282687545) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.000769941078033,-0.081090830266476,-0.027697201818228,0.060055289417505,0.042059209197760,0.059391170740128,-0.157249867916107,-0.054094713181257,0.032680641859770,0.140865385532379,0.024676207453012,0.076157100498676,-0.056493818759918,-0.073500655591488,0.050636969506741,0.086840830743313) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.064811214804649,-0.071160480380058,-0.046438839286566,0.068386740982533,0.128799706697464,-0.020672928541899,-0.126777619123459,-0.063139401376247,-0.041300356388092,-0.026797173544765,-0.072968207299709,0.082928396761417,0.006894591730088,-0.058876328170300,-0.061724383383989,-0.040985107421875) * MODEL4_texOff(vec2(1,0));
res += mat4(0.005581091623753,0.050332959741354,-0.110647983849049,0.043177179992199,-0.111072175204754,0.045960724353790,-0.126851707696915,0.052455008029938,0.045637499541044,0.030046613886952,-0.104964457452297,-0.043918084353209,0.134412541985512,0.004940314218402,0.013698667287827,0.138487920165062) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.015653343871236,0.065627485513687,0.007116912864149,-0.044626109302044,-0.006307519506663,-0.023018760606647,0.030461339280009,-0.065268032252789,-0.001913120504469,0.138911962509155,-0.050837844610214,0.072562396526337,0.032785553485155,-0.007944499142468,0.061900921165943,-0.014085028320551) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.006358412094414,0.033386718481779,0.072382636368275,-0.049403291195631,0.028047766536474,0.235683664679527,0.010933674871922,0.070746630430222,-0.002508120611310,-0.009558849036694,0.027251211926341,0.025331193581223,0.098639726638794,-0.056614719331264,0.104870699346066,-0.041366204619408) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.049704313278198,0.013320148922503,-0.117616578936577,-0.031249167397618,0.102987900376320,0.054101705551147,-0.043310061097145,0.097328558564186,-0.052726048976183,0.008518644608557,-0.009840107522905,0.015176886692643,-0.077613793313503,-0.004634025506675,0.022167157381773,-0.021323148161173) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.138068050146103,-0.095596373081207,0.067010305821896,-0.018599409610033,0.014801366254687,0.046308670192957,0.002652103081346,0.105812147259712,-0.103644967079163,0.134014338254929,0.015554097481072,0.106707751750946,0.026496564969420,-0.071402616798878,-0.037078611552715,-0.109589226543903) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.116579681634903,0.213539063930511,-0.142424643039703,0.044638939201832,0.076491631567478,-0.073384419083595,0.111573815345764,-0.096068650484085,0.206094607710838,0.046331100165844,-0.179655089974403,-0.054556984454393,-0.200068980455399,0.028678046539426,-0.197529137134552,0.244150504469872) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.104476995766163,0.109250396490097,0.026485107839108,0.037880029529333,0.063265271484852,0.085119672119617,0.026056014001369,-0.060887869447470,0.045034583657980,0.107327453792095,-0.060861438512802,0.024834506213665,0.041109520941973,-0.027982098981738,-0.058575864881277,0.035301238298416) * MODEL5_texOff(vec2(0,1));
res += mat4(0.014066234230995,0.006677149794996,-0.028781061992049,-0.096525609493256,0.034477245062590,0.073273465037346,0.002472292631865,0.019647628068924,0.066741876304150,0.108953610062599,0.062542468309402,0.071429505944252,0.055282905697823,0.014330360107124,-0.055068496614695,-0.047585651278496) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.060103408992290,-0.115481533110142,0.051579929888248,-0.006107854656875,0.043079838156700,0.173916131258011,0.007734718732536,0.038586121052504,0.091658540070057,0.240130424499512,-0.055530488491058,0.178594961762428,0.193670317530632,0.033210866153240,0.108090341091156,0.061243928968906) * MODEL5_texOff(vec2(1,0));
res += mat4(0.008324339985847,-0.067475654184818,0.026224132627249,-0.006185279693455,-0.086930304765701,0.043699931353331,0.038345400243998,0.031304914504290,-0.053372398018837,-0.056819338351488,0.039202913641930,-0.024910256266594,0.050649415701628,-0.088573664426804,0.039171531796455,-0.037174098193645) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.011643915437162,-0.074821755290031,0.029410202056170,0.014521507546306,-0.077566638588905,-0.154772087931633,-0.062044449150562,-0.028684549033642,0.124453485012054,0.097731731832027,0.030429890379310,0.059242598712444,0.013755567371845,0.041417315602303,-0.008456217125058,0.075602903962135) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.071634694933891,-0.004569052718580,0.028664292767644,-0.032334979623556,0.103943817317486,0.246715441346169,-0.121960133314133,-0.106680214405060,-0.012951271608472,0.021671291440725,0.028678921982646,-0.016674308106303,-0.050093986093998,0.069768302142620,0.126581147313118,-0.014680496416986) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.125504449009895,0.053296539932489,-0.008562875911593,-0.035828452557325,0.205676481127739,0.190032035112381,0.053088437765837,-0.034734964370728,0.076407082378864,0.010519227012992,-0.065577052533627,-0.073021873831749,0.025396542623639,-0.048843074589968,-0.006378168240190,0.028703331947327) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.087236419320107,-0.055184692144394,0.008484477177262,0.250826418399811,0.052390825003386,0.163354009389877,0.151540860533714,0.053137954324484,0.124890938401222,-0.058636568486691,-0.136730059981346,-0.161562472581863,-0.017394052818418,-0.015571897849441,-0.057959478348494,0.016474705189466) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.092323802411556,-0.227623671293259,0.030851826071739,-0.084901750087738,0.091715797781944,0.210129722952843,-0.030323395505548,-0.145182639360428,0.223184555768967,-0.016046406701207,-0.202247992157936,-0.018110016360879,0.056019891053438,-0.043887283653021,-0.053072120994329,-0.013425709679723) * MODEL6_texOff(vec2(0,0));
res += mat4(0.033400427550077,-0.119205825030804,-0.027706570923328,0.027336031198502,0.042326148599386,-0.046264756470919,-0.099885530769825,-0.023019630461931,-0.091297231614590,-0.055488388985395,0.023995541036129,-0.039438568055630,-0.000738657894544,0.055258460342884,-0.071561723947525,0.001025510719046) * MODEL6_texOff(vec2(0,1));
res += mat4(0.014930950477719,0.045436635613441,-0.066600121557713,-0.001817823620513,0.056314770132303,0.128941372036934,0.032822825014591,0.091447465121746,-0.032245397567749,0.184078544378281,0.044851720333099,0.011978891678154,-0.021655645221472,-0.042842082679272,-0.066466756165028,0.005676758941263) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.036918126046658,0.113456927239895,-0.086253128945827,-0.011315855197608,-0.013646467588842,-0.095462501049042,0.052921473979950,-0.094469301402569,-0.023370036855340,-0.091279014945030,-0.036563988775015,-0.002768189879134,0.027460001409054,0.177102416753769,0.011816478334367,0.005033014807850) * MODEL6_texOff(vec2(1,0));
res += mat4(0.009461279027164,0.011675160378218,-0.035698555409908,0.029801346361637,0.065482974052429,0.041986826807261,0.039914019405842,0.052719827741385,-0.018518324941397,-0.021024318411946,-0.046350631862879,-0.023483410477638,0.040390163660049,-0.030564259737730,0.009369505569339,-0.005070000421256) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.310537785291672,-0.049176719039679,0.072187028825283,0.440403550863266) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL12
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] mapping 8_6

vec4 hook()
{
vec4 res = vec4(0.067682832479477,-0.135275915265083,-0.061834212392569,-0.031529303640127);
res += mat4(-0.008384400978684,0.031292330473661,0.023416701704264,0.000302369153360,-0.024251798167825,0.078586630523205,-0.071061015129089,-0.068602025508881,0.006766055710614,-0.024783125147223,0.018457131460309,0.001635881606489,0.021420242264867,-0.106302849948406,0.019752535969019,0.080529600381851) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.051794022321701,-0.078290767967701,0.005898051895201,-0.049283474683762,-0.001719300518744,0.088791541755199,0.114331699907780,0.055534936487675,0.056653846055269,0.057943146675825,-0.044549670070410,-0.004267012234777,0.047095701098442,-0.044045038521290,-0.020638562738895,0.302080690860748) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.023438204079866,0.026092680171132,0.042726963758469,-0.075891643762589,-0.050263933837414,-0.152700319886208,0.069944731891155,-0.071056343615055,-0.073975011706352,-0.028845373541117,-0.024922132492065,0.014756953343749,-0.018516810610890,0.009369558654726,-0.060770947486162,-0.027067467570305) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.050215844064951,-0.029381681233644,0.029968282207847,0.025500189512968,-0.055428415536880,-0.010893055237830,-0.026207445189357,0.011391586624086,-0.151794686913490,0.077629938721657,-0.005863702390343,-0.077720165252686,0.115788541734219,0.020835954695940,-0.015414449386299,0.043352112174034) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.018000531941652,-0.120199680328369,-0.049520511180162,-0.185867100954056,-0.116087466478348,0.080158799886703,0.220993369817734,0.104940049350262,0.023304821923375,0.029556967318058,0.014303890056908,0.045916765928268,0.024102604016662,-0.099644288420677,0.020314976572990,0.217648684978485) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.068720601499081,0.023319933563471,-0.020160129293799,-0.036544702947140,0.175980031490326,-0.044926490634680,0.092011325061321,-0.130922868847847,0.015015849843621,0.074412479996681,-0.057227928191423,-0.000471224077046,0.096190616488457,0.008552492596209,-0.048886448144913,0.000152129767230) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.016820892691612,0.010886970907450,0.012952128425241,-0.012315812520683,-0.169845208525658,-0.037124007940292,-0.065647676587105,0.018143601715565,0.029669392853975,0.031463369727135,-0.099990814924240,-0.004916688892990,0.035897336900234,-0.015672227367759,0.073571234941483,-0.051834665238857) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.002353731542826,-0.036437097936869,0.028317948803306,-0.022777765989304,-0.004437840078026,0.006847548298538,0.041727360337973,-0.021467776969075,-0.043983675539494,-0.071013048291206,0.019354669377208,0.041044652462006,-0.012558065354824,0.112376786768436,0.020016549155116,-0.101648434996605) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.001871697255410,-0.057545740157366,-0.022673556581140,0.043207541108131,-0.174385771155357,-0.130092605948448,-0.024145832285285,0.054608177393675,-0.012694143690169,-0.089974641799927,0.041726153343916,-0.094046480953693,-0.033354878425598,-0.088395595550537,0.032773602753878,0.012745100073516) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.040394756942987,-0.009180719032884,0.130712509155273,-0.017005002126098,-0.010404523462057,-0.112714961171150,0.034787058830261,-0.039875082671642,-0.018069911748171,0.097396761178970,-0.090877540409565,-0.030581273138523,-0.014783535152674,0.036583624780178,0.059103935956955,-0.025002224370837) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.060625713318586,0.048116821795702,0.089352913200855,0.175300762057304,0.036879274994135,-0.062537014484406,-0.050514753907919,0.088867746293545,-0.028629159554839,-0.028916032984853,0.016135238111019,0.160342618823051,-0.002351268427446,0.119065314531326,-0.012033429928124,-0.063095405697823) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.001110947923735,-0.115404620766640,-0.075043857097626,0.063809670507908,0.065906614065170,-0.040407750755548,-0.023492293432355,-0.075451955199242,0.013470063917339,-0.235549062490463,-0.049375239759684,-0.002149677602574,-0.014720532111824,-0.089803069829941,-0.079854525625706,0.034892495721579) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.276831835508347,0.002118636388332,0.085397496819496,0.097904615104198,0.132662296295166,0.052245605736971,-0.110779441893101,-0.015200024470687,-0.046721242368221,-0.181766107678413,0.026576237753034,-0.170442372560501,-0.076302602887154,-0.102001927793026,0.186515405774117,-0.015014735981822) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.235537156462669,-0.005487058777362,-0.026414535939693,-0.066010594367981,-0.167672336101532,-0.075298383831978,0.172799944877625,-0.151168569922447,0.094716005027294,-0.064755864441395,-0.197761595249176,-0.064246654510498,0.165974110364914,-0.077762193977833,-0.039317905902863,-0.109080784022808) * MODEL2_texOff(vec2(0,0));
res += mat4(0.212530478835106,-0.058824263513088,-0.028154069557786,-0.020398695021868,0.145013511180878,-0.011161014437675,0.032683234661818,-0.060057982802391,-0.038166433572769,0.107692018151283,-0.097950793802738,0.053562723100185,-0.093047931790352,0.051570966839790,0.036126691848040,-0.007759148254991) * MODEL2_texOff(vec2(0,1));
res += mat4(0.017407134175301,0.005598453804851,0.099845595657825,0.007377256173640,0.018493205308914,-0.051579575985670,0.016307149082422,-0.034566860646009,0.010248936712742,0.030335091054440,0.036732140928507,-0.114377677440643,0.021250238642097,0.074727565050125,-0.057371124625206,0.041455622762442) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.122570998966694,-0.035626661032438,0.072356827557087,0.002547851996496,-0.009586164727807,-0.039474830031395,-0.023746917024255,0.027667285874486,0.035374816507101,0.048870939761400,-0.086965493857861,-0.237292155623436,-0.058858744800091,-0.065974563360214,-0.033016677945852,0.044990651309490) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.001948531251401,0.038871526718140,0.004994179122150,0.023056559264660,0.141469955444336,-0.087412804365158,-0.043695855885744,-0.006756250746548,-0.007501158863306,-0.032846946269274,0.038439292460680,-0.004404173232615,0.022445660084486,0.034751933068037,-0.014151633717120,-0.023775650188327) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.108859859406948,-0.196890756487846,0.060679517686367,-0.044380009174347,0.076895616948605,-0.010981718078256,-0.041686668992043,0.084405034780502,-0.065654896199703,-0.138564869761467,-0.164345175027847,0.226786985993385,-0.056956272572279,-0.037019748240709,-0.047807689756155,-0.033738233149052) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.006766940467060,-0.060762368142605,-0.014877436682582,0.179081976413727,0.074060566723347,-0.044873349368572,0.087350480258465,-0.092191539704800,0.063095383346081,0.057982087135315,0.039952252060175,0.206458136439323,0.119796425104141,-0.143732205033302,-0.150404751300812,-0.012079737149179) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.103732272982597,-0.012243638746440,-0.012840200215578,-0.002106521744281,-0.024911642074585,-0.020008318126202,-0.013940226286650,0.082070119678974,-0.094806671142578,0.021544029936194,-0.065431594848633,-0.035592831671238,0.050498142838478,-0.035859059542418,0.021762954071164,-0.012621369212866) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.086373656988144,0.040783911943436,-0.043255355209112,0.000787957920693,-0.069285891950130,0.001434042584151,-0.014223152771592,0.121218316257000,0.054399006068707,0.049439318478107,0.058282524347305,0.096659608185291,-0.034465853124857,-0.057524368166924,0.055479172617197,-0.003497246652842) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.058136362582445,-0.129968523979187,-0.022226721048355,0.096290417015553,-0.093808650970459,0.145489320158958,0.218640819191933,0.302339196205139,0.061891302466393,0.058274917304516,0.214074298739433,0.250078856945038,0.103460602462292,0.011414132080972,0.091215185821056,0.074415758252144) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.115699782967567,0.013135598041117,0.009638001210988,-0.024141991510987,0.106951259076595,0.057727191597223,-0.002910861046985,0.113377466797829,0.053267315030098,0.078714638948441,-0.003294029505923,-0.048635568469763,0.000439927156549,-0.047920480370522,0.132502004504204,0.080511502921581) * MODEL3_texOff(vec2(0,1));
res += mat4(0.029016904532909,-0.031449522823095,0.041399102658033,-0.028527850285172,0.011032558977604,-0.032191965728998,-0.022248294204473,0.112517081201077,-0.043853595852852,-0.055999286472797,-0.062088958919048,0.001007052487694,-0.084581814706326,-0.025111455470324,0.062214296311140,-0.003653852269053) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.011555444449186,-0.009188601747155,-0.022831095382571,-0.151110723614693,-0.019685400649905,-0.152814820408821,0.021384859457612,0.153000563383102,0.025401903316379,0.189840555191040,0.060192767530680,0.022212106734514,0.132924929261208,-0.053918913006783,0.063365586102009,-0.012285084463656) * MODEL3_texOff(vec2(1,0));
res += mat4(0.006800295319408,-0.217788547277451,-0.018109427765012,-0.029099388048053,0.067746065557003,-0.014729521237314,0.040937628597021,0.045296221971512,0.066696420311928,-0.010737219825387,-0.061341624706984,-0.031276434659958,0.016166085377336,-0.010628797113895,0.071893654763699,0.053825285285711) * MODEL3_texOff(vec2(1,1));
res += mat4(0.022615443915129,-0.015026448294520,0.034604262560606,-0.074209965765476,0.007652064319700,0.101299069821835,-0.054201204329729,-0.009407840669155,0.041813265532255,0.038957662880421,-0.060627058148384,0.044212214648724,-0.012033320032060,0.013746996410191,0.071276746690273,-0.068789429962635) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.009618117474020,-0.118879243731499,-0.077763706445694,0.077306151390076,-0.030759807676077,0.037297520786524,0.007950307801366,0.040237694978714,0.017820803448558,0.028900310397148,0.099154941737652,-0.026785397902131,-0.075606249272823,-0.016931330785155,-0.012038403190672,-0.199793606996536) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.104656577110291,-0.073342874646187,-0.033560991287231,-0.024041417986155,-0.050450757145882,0.065561175346375,0.050376810133457,-0.033658519387245,-0.091951146721840,0.048548642545938,-0.044637747108936,-0.021204430609941,0.004118636716157,-0.013891285285354,-0.058959450572729,-0.062361665070057) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.178060948848724,0.060021374374628,-0.157499045133591,0.050150901079178,-0.039385184645653,0.045656815171242,-0.003785764332861,0.013902422972023,-0.094827666878700,0.074653118848801,-0.018264085054398,0.002582497894764,-0.002279686974362,-0.044915188103914,0.004316808190197,-0.033809669315815) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.276664435863495,0.012958782725036,0.259202957153320,-0.142395019531250,-0.057594206184149,-0.036769870668650,0.128995776176453,0.131402283906937,0.028186883777380,0.076286859810352,0.108484141528606,0.093267619609833,0.141186177730560,-0.084074482321739,-0.125584661960602,-0.394568353891373) * MODEL4_texOff(vec2(0,0));
res += mat4(0.114188887178898,-0.068160988390446,0.119700007140636,-0.095515377819538,0.203124970197678,0.116384349763393,0.028608869761229,0.035636328160763,0.022345479577780,-0.010884064249694,-0.030947625637054,-0.065925322473049,-0.019720494747162,-0.047476187348366,-0.074671931564808,-0.033384721726179) * MODEL4_texOff(vec2(0,1));
res += mat4(0.034039426594973,0.017435928806663,0.067425593733788,-0.025037249550223,-0.015531598590314,0.020100558176637,0.017997708171606,-0.054819807410240,-0.052811972796917,0.074870921671391,-0.030146837234497,0.024996062740684,-0.037515707314014,0.003600852098316,0.003318164730445,-0.025567498058081) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.028419854119420,0.007415704894811,-0.012578222900629,-0.021002329885960,0.039789997041225,-0.040693257004023,0.017816223204136,0.017937587574124,0.020413096994162,-0.075713299214840,0.117222793400288,0.045075420290232,-0.034365154802799,0.060139827430248,0.215499132871628,0.041008397936821) * MODEL4_texOff(vec2(1,0));
res += mat4(0.171205922961235,-0.248374998569489,-0.127445757389069,0.007599381729960,-0.001542042475194,-0.030299931764603,0.034406658262014,0.023836106061935,-0.049948841333389,0.023043738678098,-0.028594220057130,-0.059646941721439,0.124118879437447,-0.113807670772076,0.022086760029197,-0.042722556740046) * MODEL4_texOff(vec2(1,1));
res += mat4(0.010223645716906,0.047266576439142,-0.034976970404387,-0.077910438179970,0.000486245611683,0.031266015022993,-0.067520804703236,0.027058411389589,-0.074586033821106,-0.063385687768459,-0.152447327971458,0.139364942908287,-0.008373269811273,-0.010892640799284,0.001459582243115,-0.104611493647099) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.057165358215570,-0.015315910801291,0.047675300389528,-0.003745304653421,-0.054752998054028,-0.132552683353424,0.059793837368488,0.006822000257671,0.007405431941152,0.248073577880859,0.014438151381910,-0.110763952136040,-0.092372342944145,0.018103672191501,-0.080834865570068,-0.120602682232857) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.135179623961449,-0.245957478880882,0.055610515177250,0.015096426010132,-0.029376264661551,-0.037187788635492,-0.013238478451967,-0.084855124354362,0.107161365449429,-0.086393743753433,0.010096552781761,0.033550228923559,0.004957235418260,-0.144844189286232,-0.064537525177002,-0.018273936584592) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.165836751461029,-0.029511908069253,-0.032860007137060,-0.045387659221888,-0.028532866388559,-0.077317543327808,0.110803663730621,-0.052261192351580,0.025279853492975,0.069787979125977,0.134390741586685,0.135463461279869,0.074449367821217,0.005527349654585,-0.152474626898766,0.081683658063412) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.139521062374115,0.027762986719608,0.182394012808800,-0.068478509783745,0.067147135734558,0.024232249706984,-0.017315870150924,0.030069448053837,0.126000046730042,0.291532933712006,-0.133498162031174,-0.018496356904507,0.117855988442898,-0.072115801274776,0.332397639751434,0.283494383096695) * MODEL5_texOff(vec2(0,0));
res += mat4(0.256357103586197,-0.363473623991013,0.047165282070637,0.006047818344086,-0.138915508985519,0.092970319092274,-0.033063836395741,-0.004358149133623,-0.050515685230494,-0.063568755984306,0.042371165007353,0.075565569102764,-0.056226663291454,-0.081501401960850,-0.245572745800018,0.018790151923895) * MODEL5_texOff(vec2(0,1));
res += mat4(0.035603199154139,0.030859449878335,0.025970328599215,-0.026669016107917,-0.109115637838840,-0.088575862348080,0.006763245910406,-0.022506019100547,-0.045742791146040,-0.124265797436237,0.078201331198215,0.066543973982334,0.079759784042835,0.030255515128374,0.050523485988379,-0.108714707195759) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.065554328262806,-0.023122923448682,-0.016035294160247,0.002113356022164,-0.091544792056084,0.116673603653908,-0.009300735779107,0.003613560227677,-0.112966261804104,-0.023358214646578,0.091194838285446,-0.039738360792398,-0.028746239840984,-0.043856233358383,-0.185946896672249,-0.214100420475006) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.063691131770611,-0.023734020069242,-0.026255669072270,-0.039516236633062,0.085747085511684,-0.028484089300036,0.072402186691761,0.010783551260829,-0.010746136307716,0.007432692218572,0.122622564435005,0.049174945801497,0.059239726513624,-0.044858437031507,-0.024767212569714,-0.043659787625074) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.008116128854454,0.012751831673086,-0.011904818005860,0.018872816115618,-0.039997886866331,-0.026609286665916,0.003479201812297,0.005799344740808,0.048311591148376,0.005121437367052,-0.021913278847933,-0.069939315319061,0.061584729701281,-0.016758188605309,-0.082144618034363,0.024751260876656) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.016079645603895,-0.144538179039955,0.027353804558516,0.008649930357933,-0.040361173450947,0.023441594094038,0.139647752046585,-0.073966942727566,-0.076700069010258,-0.022850237786770,0.082183457911015,-0.090950384736061,-0.026515159755945,0.019724920392036,0.004995445255190,0.021120194345713) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.095134653151035,-0.147859677672386,0.018455853685737,0.021871618926525,-0.101842582225800,0.000411710760091,0.006984406150877,0.072224609553814,0.034403845667839,0.005557506345212,0.033235982060432,0.018096584826708,0.051556311547756,-0.138044357299805,-0.002791801700369,0.035637732595205) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.104563087224960,0.026173237711191,0.007778064813465,-0.052585296332836,-0.121794708073139,-0.113364532589912,-0.141181781888008,-0.009078344330192,0.106966875493526,0.035619996488094,-0.191276997327805,0.172890871763229,-0.063784502446651,-0.118910297751427,0.139663487672806,-0.042069558054209) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.057032197713852,-0.161348953843117,-0.156659677624702,-0.007946969009936,-0.208395764231682,-0.023605437949300,-0.037292033433914,0.036334015429020,-0.089393623173237,-0.052750300616026,-0.169022977352142,0.082363195717335,0.049613930284977,0.188979044556618,0.105963833630085,-0.026184745132923) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.282932370901108,0.017037441954017,0.024317480623722,0.048665720969439,0.027688486501575,0.008758791722357,-0.005661955568939,-0.024000667035580,-0.066704258322716,-0.075697712600231,-0.006167744752020,-0.046096906065941,0.030812723562121,-0.032027315348387,0.020359065383673,0.014016486704350) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.046432483941317,0.017566828057170,-0.000136713671964,0.011819362640381,-0.028776513412595,-0.003702596761286,-0.035127930343151,-0.042626034468412,0.068702124059200,0.086108252406120,0.067970857024193,0.032523442059755,-0.102995105087757,-0.017986977472901,-0.018059758469462,-0.016484530642629) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.081660620868206,-0.043204437941313,0.077729247510433,0.014966270886362,-0.166838154196739,-0.032684363424778,-0.032760981470346,-0.007885230705142,0.111219286918640,0.006198587361723,0.105732046067715,0.063775852322578,0.007876951247454,0.054150305688381,0.021503314375877,-0.004388248082250) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.000884568027686,0.024595066905022,0.010576702654362,-0.022213445976377,-0.014939418993890,-0.019236436113715,0.019873641431332,-0.041184037923813,-0.068025738000870,0.064642526209354,-0.063277482986450,-0.035698294639587,0.076078817248344,-0.011365654878318,-0.043750107288361,-0.013196817599237) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.854838550090790,0.158187359571457,0.861072242259979,0.727887988090515) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE SUBCONV1
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] sup-pixel convolution 1

vec4 hook()
{
vec4 res = vec4(-0.000032851952710,-0.001162272761576,-0.000958169577643,-0.001984266098589);
res += mat4(-0.000055597818573,-0.000701907731127,0.000240666980972,0.001642590621486,0.013250669464469,-0.006906585302204,0.009031864814460,-0.004117178265005,0.004335290752351,-0.001439615734853,0.000324621971231,0.000973197573330,-0.009500276297331,-0.001492224866524,0.003412621794268,-0.000034380384022) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.002733591012657,-0.002690695924684,-0.006022729445249,-0.005012429319322,0.011247865855694,-0.017732830718160,0.028250034898520,-0.014512441121042,0.006123180966824,0.016356617212296,-0.005833024159074,-0.002067923080176,-0.009447597898543,-0.013856859877706,0.005069547332823,0.010419482365251) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.000460882409243,-0.000326866604155,-0.000312164425850,-0.002470620675012,0.012959523126483,-0.018543401733041,0.005827137269080,-0.014928490854800,0.000739903771318,-0.004283014684916,-0.001830960274674,-0.003728197189048,-0.002371245529503,-0.003657430643216,-0.001535356044769,-0.001564371981658) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.000364438921679,0.000915327284019,0.002503883559257,-0.001617380883545,0.003828007960692,-0.003233372466639,0.007567966822535,-0.009355342946947,-0.006617151666433,-0.003354431595653,-0.005429415963590,-0.007026264909655,-0.003236796939746,0.002860090695322,-0.017767673358321,-0.003066509263590) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.013013594783843,-0.008026004768908,0.016855936497450,0.013294871896505,0.004408938810229,0.005707323085517,-0.019201491028070,-0.002684278879315,0.016716290265322,-0.003680652240291,0.006411885842681,0.006991599686444,0.016473546624184,0.013982039876282,0.000290802185191,-0.011753965169191) * MODEL7_texOff(vec2(0,0));
res += mat4(0.001489873742685,-0.004808397497982,-0.000371555390302,0.007135205902159,-0.004892614204437,0.008628863841295,0.005646424368024,-0.002458993811160,-0.008195319212973,-0.002107051201165,-0.004632229916751,-0.012327911332250,-0.003992786630988,-0.003977961372584,-0.005354674533010,-0.005960561335087) * MODEL7_texOff(vec2(0,1));
res += mat4(0.001086558564566,0.000598014041316,-0.001720240805298,-0.000031602481613,0.002585222246125,0.001288290368393,0.001236401847564,0.001226852531545,0.000906178611331,0.000636508455500,-0.001253855414689,-0.000412599067204,-0.005132438149303,-0.003156763967127,0.003133936086670,0.001090275589377) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.010961135849357,0.005859147291631,-0.004892650526017,-0.004305358976126,-0.002953477203846,-0.003248053137213,0.004106631968170,-0.001920074690133,-0.009215827099979,0.000032157848182,0.003941712435335,-0.002221915172413,-0.002874374855310,-0.003373573301360,0.012474417686462,0.016438394784927) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.001374622574076,0.003950695507228,-0.000933838426135,-0.003486430272460,0.000479842623463,-0.004768007434905,-0.003171404823661,0.001633057137951,-0.002408897969872,-0.008487394079566,-0.003654241329059,0.000729113526177,-0.001471474883147,-0.002381853060797,-0.001848568092100,-0.000363310799003) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.003105151699856,-0.003527663182467,-0.001455160439946,0.002510155783966,-0.003367196535692,0.001494907774031,-0.005032619461417,0.003287183586508,-0.000100094133813,-0.000652368820738,-0.000288232724415,0.000020916024368,0.002380145713687,0.000917855883017,-0.000337831530487,-0.000921851955354) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.006656491197646,0.010874546132982,-0.004514821339399,0.000002577384294,0.006210169754922,-0.003104256000370,-0.005337533075362,0.009960194118321,-0.001366691896692,0.001894207089208,-0.008777201175690,-0.005571808200330,0.005260582081974,-0.007818798534572,0.002134280977771,-0.001969730947167) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.002241395181045,0.001328816288151,0.002325794193894,0.001644793781452,0.002648452529684,-0.007026997394860,0.001946703763679,-0.000559898791835,-0.005202985834330,-0.007660945411772,0.004220610484481,-0.000143848621519,-0.003231634618714,0.001825317856856,-0.001880718511529,0.001570217893459) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.011708738282323,-0.005648004822433,0.008081097155809,-0.010281840339303,0.008998335339129,-0.013530176132917,0.008006145246327,0.004271388053894,-0.004258032888174,0.000208770565223,0.001379410852678,0.002974485047162,-0.002577807754278,0.008709600195289,0.002755804685876,0.005969322286546) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.017821002751589,-0.003018596675247,-0.020339049398899,0.017175588756800,-0.018283292651176,0.009769890457392,0.025296740233898,-0.023403607308865,-0.017548799514771,-0.014564804732800,0.022350074723363,0.009790319949389,0.026290100067854,-0.021329324692488,0.016700979322195,-0.021246241405606) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.002141685690731,0.014040908776224,0.000648459827062,0.004419684410095,0.001458891783841,0.003611374879256,-0.006646857596934,0.000148673701915,0.002706841100007,-0.003824492683634,0.000162464013556,0.014096468687057,-0.008211526088417,0.000462198862806,-0.008613230660558,0.001152999233454) * MODEL8_texOff(vec2(0,1));
res += mat4(0.001150939380750,0.000062771672674,0.002538945293054,-0.001943169045262,0.000406126200687,0.008192170411348,-0.009783605113626,-0.003134666476399,0.002201701980084,0.000135492824484,0.001712268684059,-0.000887929403689,-0.000782481860369,0.001648026169278,-0.003127585165203,0.005577947478741) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.000335970107699,0.000126834216644,0.000727624457795,-0.007028311956674,0.005125492811203,-0.005928270984441,-0.003323036944494,0.011328450404108,0.006159782409668,0.003243337152526,-0.003425697796047,0.001697568455711,0.001905140699819,-0.002803362207487,0.013695613481104,-0.008353888057172) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.004352251999080,-0.001556708244607,-0.004775351379067,0.007290788460523,0.001383661176078,0.000565852271393,-0.000966368883383,0.000491765793413,0.001169819151983,0.005384253803641,-0.003381023881957,-0.006182215642184,-0.000431251799455,-0.001256466493942,-0.003286626422778,-0.003102905349806) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.004031644202769,0.004606680478901,0.000874079822097,0.002016772748902,-0.001717987004668,0.000450065243058,-0.000129558378831,0.002793104387820,-0.001319448812865,0.002915980061516,0.001371806371026,0.000387034990126,0.003280578646809,-0.000698144896887,-0.003034139983356,-0.000315855402732) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.016479710116982,-0.008557155728340,-0.000207722943742,-0.007073481567204,0.001483507687226,-0.002607336733490,-0.001371432328597,-0.004202061798424,0.019851185381413,-0.004356479737908,-0.000162536656717,0.002026881324127,0.007807058747858,0.008520293980837,-0.007311042398214,-0.006614236161113) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.000089014072728,-0.003347436198965,-0.000144531339174,-0.003052654443309,-0.005465533118695,-0.006053079850972,0.002440704265609,0.000065278320108,-0.001651892787777,0.012324491515756,-0.004682512022555,-0.008314019069076,0.000214838684769,0.003369550686330,0.003033388173208,-0.000840086780954) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.004200195427984,0.000531931058504,-0.005707743577659,0.005007555242628,0.007695796899498,-0.002034173347056,-0.002019203966483,-0.001542632933706,0.011642557568848,-0.003733077086508,0.000905746710487,-0.000267333089141,-0.001318560913205,0.002322960412130,-0.008225085213780,-0.001002147560939) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.009734181687236,0.004469757899642,0.022385600954294,0.006528163328767,-0.020044958218932,-0.018991626799107,0.022542217746377,-0.001499030855484,0.004661719780415,0.019000561907887,-0.021301319822669,-0.024693122133613,-0.002721061464399,0.004994497168809,0.010572114028037,-0.000558749481570) * MODEL9_texOff(vec2(0,0));
res += mat4(0.014455413445830,-0.019197989255190,0.004361506085843,-0.015841815620661,-0.003271338297054,0.001297422219068,-0.006061348598450,0.012333803810179,-0.000667045125738,-0.000979579519480,0.000009961462638,0.000574369099922,-0.000882469641510,-0.002032615011558,-0.002419754862785,0.006928451824933) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.000465833756607,-0.000134872927447,-0.002661630278453,-0.001432284014300,-0.004970233421773,-0.005757126025856,0.012707341462374,-0.002862546592951,0.001865682890639,0.001528766704723,-0.001576333306730,-0.003922685515136,-0.000788020843174,-0.003902606666088,-0.003200060455129,0.002836675615981) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.003260827390477,0.005129246041179,-0.004999377764761,0.004555173683912,0.001165898633189,-0.000549335498363,-0.002650008536875,0.013276047073305,-0.004611256998032,-0.002733390778303,-0.000407026032917,-0.000428584578913,0.010563341900706,0.006485030520707,-0.013614851050079,-0.012319589033723) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.000764646974858,-0.000852519413456,0.008855584077537,-0.000796470791101,0.000572400225792,0.003395761828870,0.000121240889712,0.000194093401660,0.001347580691800,-0.000791498809122,0.000527708267327,0.000683565333020,-0.001201774808578,0.004084723535925,0.001385240349919,-0.001891251537018) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.007835554890335,-0.000758895708714,0.006148249842227,0.003933723084629,-0.007296307478100,-0.000148688268382,-0.000669987581205,-0.000737949158065,-0.004220177419484,-0.000577692233492,-0.001132687204517,0.002401553560048,0.004558299668133,-0.003019325900823,0.001081946189515,-0.001090014935471) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.005801160819829,-0.009239177219570,-0.013017457909882,-0.004309593699872,-0.002632210962474,0.010696331039071,-0.000542313151527,0.001328002545051,-0.017403228208423,-0.013355696573853,0.002852832665667,-0.006685099098831,-0.009368210099638,0.001703800633550,0.000651943322737,0.000085576248239) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.002898364095017,0.009000559337437,-0.003770937211812,-0.010254250839353,0.003208761569113,-0.002399702090770,0.000049381389545,-0.000237881089561,-0.003186050802469,-0.010493411682546,0.006988212466240,0.010757000185549,0.000418967683800,0.006350294686854,-0.002678882097825,0.002184258773923) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.002541927155107,0.002780008828267,0.003572703106329,-0.002077518031001,-0.013708239421248,0.003747420851141,-0.014860431663692,0.001537848613225,-0.002876895014197,0.016023807227612,0.005687395576388,0.005012016743422,-0.010282884351909,-0.004751176107675,0.002686007414013,-0.007121234666556) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.019800942391157,-0.010656291618943,0.019102051854134,0.019826084375381,-0.011740406043828,0.016827499493957,-0.008205576799810,0.026061091572046,0.095609501004219,0.016702413558960,-0.003124596551061,0.002817354397848,-0.013021229766309,0.023901205509901,-0.023683587089181,0.021000472828746) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.000791847880464,-0.009592023678124,-0.001140106236562,0.002882001688704,0.008808569982648,-0.007630569860339,0.008675868622959,-0.006900417152792,-0.012911798432469,0.051905903965235,-0.018791409209371,-0.019689418375492,0.010386637412012,-0.010202579200268,0.009760430082679,-0.000457877787994) * MODEL10_texOff(vec2(0,1));
res += mat4(0.001552909146994,-0.001449645962566,-0.003034935798496,0.000262456858763,-0.000394325761590,-0.000619482074399,-0.005588643252850,0.001770246075466,0.009534693323076,-0.033644258975983,0.014080935157835,-0.014386015944183,-0.000608572445344,0.004744166508317,-0.008776177652180,0.004086373373866) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.006505941506475,0.007083369418979,0.001327879726887,-0.004301335196942,0.003857708070427,0.001004064921290,-0.002145824953914,0.003568564774469,-0.062661491334438,0.094177573919296,0.011511597782373,0.109591335058212,0.004601366352290,-0.002385297091678,0.004894937388599,0.003488835180178) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.001819997793064,-0.000200713009690,0.000993718858808,0.003091838676482,-0.000848367868457,0.002174585359171,0.002110152272508,-0.001813556766137,0.005961936898530,-0.060881868004799,0.002693964866921,-0.023584760725498,0.001300005358644,-0.001545696053654,0.004350576084107,-0.006822271272540) * MODEL10_texOff(vec2(1,1));
res += mat4(0.001836624927819,0.002185931429267,0.003486049128696,-0.001012815046124,0.002492957282811,-0.006418980192393,-0.005498033482581,-0.001135086058639,0.020575398579240,0.002269873628393,-0.012265167199075,-0.001298406859860,0.002867894712836,0.004663673229516,0.000932880735490,-0.000046637334890) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.005685134790838,-0.006453600712121,0.002672459697351,0.007110626436770,-0.017816882580519,0.011081331409514,0.000284908310277,0.005750232376158,0.002286427654326,0.029568361118436,-0.005868034437299,-0.018717009574175,-0.002535928506404,-0.006641627755016,0.004962632432580,0.001452813157812) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.000579990621191,-0.001085228519514,0.000006984075753,-0.000665787549224,0.000724560057279,0.004315677098930,0.003044646000490,-0.000676649389789,0.002281199907884,-0.008941510692239,0.003662599483505,0.004771799314767,0.001853247522376,0.006989977322519,-0.001745543093421,0.002088988199830) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.011094423942268,-0.001774855190888,-0.012801663950086,-0.004662618506700,-0.006662932224572,0.003341601928696,0.012661947868764,-0.000502608367242,0.001023416523822,0.004484821576625,-0.015561725012958,-0.003508253488690,0.007129366509616,-0.000257843901636,0.004330739378929,0.003836787538603) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.004335994366556,0.022476956248283,0.002390250796452,-0.009534425102174,0.029350206255913,-0.018151024356484,-0.004743788391352,-0.015287741087377,-0.007934838533401,-0.008821388706565,0.004312915727496,-0.011184751056135,0.000259681663010,-0.005615737754852,-0.007958528585732,-0.013578430749476) * MODEL11_texOff(vec2(0,0));
res += mat4(0.002140761818737,-0.004134895745665,0.002293325727805,0.004314938094467,-0.009428720921278,-0.008046844974160,-0.006959663238376,0.014494214206934,0.002109623048455,0.001006392878480,-0.002779798815027,0.002685409504920,-0.004066180437803,0.015575438737869,-0.003942623268813,0.011549761518836) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.004890379030257,-0.003667011857033,0.005294444505125,-0.000539742235560,-0.001266072038561,0.003250671084970,-0.002653277246282,0.003295561298728,-0.001997498096898,-0.002067069988698,0.003303848439828,-0.000079205485235,0.001327310339548,-0.000076160264143,0.005321862641722,-0.000809615245089) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.001682178699411,-0.003602945478633,-0.014858317561448,-0.001350124250166,-0.004034993238747,0.002424064557999,0.003584275487810,0.003547925734892,0.001751217991114,-0.000280124368146,0.002800137037411,0.006343071814626,-0.002644184976816,-0.002283928915858,0.002344612497836,-0.000266001385171) * MODEL11_texOff(vec2(1,0));
res += mat4(0.001379255088978,0.004765914753079,0.001915335888043,-0.006234086584300,0.003985770512372,0.004745396319777,0.005022598430514,-0.008321907371283,-0.000403037265642,-0.000370865600416,0.002903532702476,-0.000462616211735,-0.000424107856816,-0.002290080068633,-0.000523844501004,0.005463584791869) * MODEL11_texOff(vec2(1,1));
res += mat4(0.008742061443627,-0.004008666146547,0.000392204296077,-0.002743102377281,-0.013849543407559,-0.003257033182308,0.003375954926014,0.000158163718879,0.000810084922705,0.000316069577821,0.001498946920037,-0.000984627637081,0.003852168098092,-0.000143945217133,0.000683662423398,0.000063062027039) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.007999753579497,0.000917336321436,-0.000377216434572,0.001121434615925,-0.003465484362096,-0.014464279636741,-0.006255780346692,0.002192816929892,0.003076573600993,0.004155377857387,0.008402588777244,0.009736265055835,0.015127548016608,0.015476631000638,0.006426013074815,0.003762042149901) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.003340319963172,-0.005108346231282,-0.001890394487418,-0.002373107476160,-0.002069468144327,0.006522587966174,0.001443888526410,0.000980599899776,0.001054866937920,0.003135868348181,-0.001741076586768,0.001799728372134,0.002811906160787,0.007261528167874,0.001813592854887,0.005225126631558) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.015905454754829,-0.004800287541002,0.016940556466579,-0.004422867670655,-0.013442522846162,-0.023882599547505,-0.024270907044411,-0.005429629236460,-0.001890636864118,0.011883560568094,-0.004140502307564,0.007634949404746,-0.008988262154162,-0.001477158628404,-0.006307745818049,-0.003377069253474) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.011167919263244,0.005560475867242,-0.013805552385747,0.005130909848958,-0.021268147975206,-0.020696738734841,-0.012120246887207,-0.034229308366776,-0.011345359496772,-0.023819565773010,-0.015558858402073,-0.022195143625140,-0.023190736770630,-0.020877109840512,-0.014492043294013,-0.011804664507508) * MODEL12_texOff(vec2(0,0));
res += mat4(0.006540401373059,-0.009048127569258,0.008882607333362,-0.011128993704915,0.002378340577707,0.001321473275311,-0.007496884092689,0.002121985889971,0.007412869948894,0.001721155364066,0.009446590207517,0.002041703090072,0.003424633992836,-0.000741078925785,0.000364270963473,-0.003675590967759) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.000226703239605,-0.000821366440505,0.004802165087312,-0.002221183152869,0.011651305481791,0.016437409445643,-0.003484483575448,-0.004884318914264,0.002460740040988,-0.000656331540085,-0.000594461744186,0.002231223974377,-0.004448256921023,0.000415071641328,0.008334992453456,0.001904158969410) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.001704243361019,0.002653622068465,-0.003890335792676,-0.000031090636185,-0.002427437342703,-0.013391414657235,-0.020571384578943,-0.022891178727150,-0.000128757397761,0.008132237009704,-0.006762262899429,-0.008695355616510,0.011587629094720,0.000316075282171,0.012440861202776,0.020742172375321) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.003199236467481,-0.000139060153742,0.000133103691041,-0.000373650225811,-0.000486882781843,0.007303900085390,0.011414816603065,0.012434242293239,-0.000800501496997,-0.004747754428536,0.000819147215225,-0.000623421452474,0.001116277649999,0.010172649286687,0.002371563576162,0.004775753244758) * MODEL12_texOff(vec2(1,1));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 1.200 * > OUTPUT.h LUMA.h 1.200 * > *
//!WIDTH LUMA.w 2 *
//!HEIGHT LUMA.h 2 *
//!BIND SUBCONV1
//!BIND LANCZOS3
//!DESC [AiUpscale_HQ_Sharp_2x_LineArt] depth to space

vec4 hook()
{
vec2 fcoord = fract(SUBCONV1_pos * SUBCONV1_size);
vec2 base = SUBCONV1_pos + (vec2(0.5) - fcoord) * SUBCONV1_pt;
ivec2 index = ivec2(fcoord * vec2(2));
vec4 res = SUBCONV1_tex(base);
return vec4(res[index.x * 2 + index.y] + float(LANCZOS3_texOff(0)), 0, 0, 1);
}
